How do you format date-times in RFC 3339 style?

2019-02-12 Thread tantalum
i once wrote a rfc3339 reader/writer and worked through some gotchas, maybe the code contains hints that are helpful. for example, here is a function that converts from a timestamp to a rfc3339 date string: (define* (utc->rfc3339 a #:optional (offset 0) (seconds-fraction 0)) "integer:posi

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread sirgazil
El 12/02/19 a las 11:18 a. m., Nala Ginrut escribió: Sorry for the misleading, what I thought is RFC1123. Please ingnore my answer. :-( Ha ha, no problem, Nala :) -- Luis Felipe López Acevedo http://sirgazil.bitbucket.io/

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread Ricardo Wurmus
sirgazil 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 suppo

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread tantalum
i once wrote a rfc3339 reader/writer and worked through some gotchas, maybe the code contains hints that are helpful. for example, here is a function that converts from a timestamp to a rfc3339 date string: (define* (utc->rfc3339 a #:optional (offset 0) (seconds-fraction 0)) "integer:posi

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread sirgazil
El 12/02/19 a las 11:50 a. m., Ricardo Wurmus escribió: sirgazil 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'l

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread Nala Ginrut
Sorry for the misleading, what I thought is RFC1123. Please ingnore my answer. :-(

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread sirgazil
Hi, Nala :) 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. But I'm curious, how do you