-
Notifications
You must be signed in to change notification settings - Fork 45
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
Generate RFC 3339 timestamp #45
Comments
ANyupdate? |
Hi @zxcvbn97 and thanks for the feedback. Until now there was no way to do what you wanted, because this isn't possible to do using Python's logging module. The reason for this is that support for millisecond precision isn't included in date/time format strings but is instead included as the However today I released coloredlogs 9.3 which enables flexible millisecond formatting using a "fake"
|
Is there anyway to generate RFC 3339 timestamp, for example,
2014-04-28T15:44:45.758-07:00
When I pass to coloredlogs my own
datefmt
and enable milliseconds, it becomes2014-04-28T15:44:45-07:00,758
(milliseconds at the end of time zone info)The text was updated successfully, but these errors were encountered: