-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Default date time stamp use ISO8601 #155
Comments
Hi there,
You can use |
Thanks for getting back to me so quickly. I'd love to be able to use It's a great feature, and if it does get merged into master, it would be great to add some mention of it to the README.md. |
No problem
Looks like #135 has been in master since v4.2.0 (Dec 27 2015). There's no docs on it, but it should work - is it not for you? Note that the actual code change was in https://github.com/ptaoussanis/encore, not timbre.cljx.
Sure, PR welcome :-) |
Just spent some time trying to get timbre to print timestamps the same way basically all my other tools does it, and came by this. I would enthusiastically vote for 8601 as the default, it just takes too much mental effort to work with slightly deviating patterns like the one timbre currently uses. I'll take the |
Will update the default pattern with the next release 👍 |
Awesome, thanks! |
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
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
ISO 8601 is the only sane date format (obligatory xkcd link).
It would be great if default-output-fn used this format, or at least had an option to enable it.
The text was updated successfully, but these errors were encountered: