sirgazil <sirga...@zoho.com> writes:

> El 11/02/19 a las 4:39 p. m., Nala Ginrut escribió:
>> Hi there!
>> Guile web module has provided an unexpected API for that:
>>
>> (define write-date (@@ (web http) write-date))
>
>
> I think I prefer using public procedures, so I'll leave the error
> there for now.

I suppose you could hack your way around this:

(use-modules (srfi srfi-19))
(let* ((now (current-date))
       (tz  (date->string now "~z")))
 (string-append (date->string now "~Y-~m-~dT~H:~M.~S")
                (string-drop-right tz 2) ":" (string-take-right tz 2)))

What do you think?

-- 
Ricardo


Reply via email to