Skip to content

Commit

Permalink
[#45] [BREAKING] Fix ISO8601 pattern (@katox)
Browse files Browse the repository at this point in the history
The ISO8601 separator is wrong. It should print timestamps like "2018-11-24T16:00:48.999Z" instead of "2018-11-24 16:00:48.999+0000" (for UTC).

Related to taoensso/timbre#155
  • Loading branch information
katox authored and ptaoussanis committed Dec 2, 2018
1 parent d7ec458 commit f027eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taoensso/encore.cljx
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@
(fn [pattern locale timezone]
(let [pattern
(case pattern
:iso8601 "yyyy-MM-dd HH:mm:ss.SSSZ"
:iso8601 "yyyy-MM-dd'T'HH:mm:ss.SSSX"
:rss2 "EEE, dd MMM yyyy HH:mm:ss z"
pattern)

Expand Down

0 comments on commit f027eb5

Please sign in to comment.