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

php - How to display all orders for a single product showing the most recent first? Woocommerce -

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

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -