Skip to content

Commit

Permalink
UTC and ISO 8601 as default timestamps
Browse files Browse the repository at this point in the history
Using UTC and ISO 8601 as the default timestamp format, since that tends
to lead to the least confusion and surprise.
  • Loading branch information
bsvingen committed Nov 5, 2015
1 parent afe6dd3 commit 7016b73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/taoensso/timbre.cljx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
#+clj
(def default-timestamp-opts
"Controls (:timestamp_ data)."
{:pattern "yy-MMM-dd HH:mm:ss"
:locale (java.util.Locale. "en")
;; :timezone (java.util.TimeZone/getTimeZone "UTC")
:timezone (java.util.TimeZone/getDefault)})
{:pattern "yyyy-MM-dd'T'HH:mm:ssX"
;; :timezone (java.util.TimeZone/getDefault)
:timezone (java.util.TimeZone/getTimeZone "UTC")})

(declare stacktrace)
(defn default-output-fn
Expand Down

0 comments on commit 7016b73

Please sign in to comment.