atom: Change date format from ISO-8601 to RFC-3339.

* haunt/builder/atom.scm (date->string*): Format in RFC-3339 style.
This commit is contained in:
Philip K 2019-08-14 22:21:34 +02:00 committed by David Thompson
parent d66515e8b3
commit 65adbb052f
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@
(sxml->xml sxml port))
(define (date->string* date)
"Convert date to ISO-8601 formatted string."
(date->string date "~4"))
"Convert date to RFC-3339 formatted string."
(date->string date "~Y-~m-~dT~H:~M:~SZ"))
(define* (post->atom-entry site post #:key (blog-prefix ""))
"Convert POST into an Atom <entry> XML node."