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

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -