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

2019-02-11 Thread Nala Ginrut
Sorry for typo from input corrector: s/unexpected/unexport Nala Ginrut 于 2019年2月12日周二 05:39写道: > Hi there! > Guile web module has provided an unexpected API for that: > > (define write-date (@@ (web http) write-date)) > > sirgazil 于 2019年2月12日周二 03:18写道: > >> Hi, >> >> I'm generating atom feeds

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

2019-02-11 Thread Nala Ginrut
Hi there! Guile web module has provided an unexpected API for that: (define write-date (@@ (web http) write-date)) sirgazil 于 2019年2月12日周二 03:18写道: > Hi, > > I'm generating atom feeds from SXML that don't validate because of the > date-time format I'm using: > > > (use-modules (srfi srfi-19))

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

2019-02-11 Thread sirgazil
Hi, I'm generating atom feeds from SXML that don't validate because of the date-time format I'm using: > (use-modules (srfi srfi-19)) > (date->string (current-date) "~Y-~m-~dT~H:~M.~S~z") $1 = "2019-02-11T13:42.57-0500" String $1 is close to the RFC 3339 style,¹ which is the required format