Why do a Clojure instant uses a "-" instead of a "+" when describing timezones? -
note in following clojure repl, input instant
"+00:00" or "+01:00" describe timezone information repl output produces instant
using "-00:00" (utc).
user> #inst "2016-11-12t20:33:31.000+00:00" #inst "2016-11-12t20:33:31.000-00:00" user> #inst "2016-11-12t20:33:31.000+01:00" #inst "2016-11-12t19:33:31.000-00:00"
is behaviour design?
i'm using clojure 1.8.0.
found issue explains behaviour:
http://dev.clojure.org/jira/browse/clj-928
clojure instant
expected print time in utc now.
Comments
Post a Comment