-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add the possibility to log in UTC #22
Comments
Maybe a stupid question, but do you want the current time to be used as if it were UTC? Or convert the current time in UTC? What use case do you have in mind for this? Logging from a lot of sources in different timezones to a central destination? One workaround could be to change your server's timezone to UTC, but that's maybe not an option for other reasons. |
Hi @jobec and thanks for your reply!
Feel free to ask further questions. |
This was implemented in 26a4cdb Could you test and let me know if it works as expected? |
It's now also available in v1.2.1 |
I'm adding the lib to a couple of apps but still didn't finish. I'll ping you as soon as I'm done. Thanks a lot in the meantime! |
I wish
to configure the logger to use UTC, eg 2018-08-24T11:06:30.831710Z`
notes
a datetime object can be converted via:
The text was updated successfully, but these errors were encountered: