Skip to content
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

Fix console formatter for TimeFormatUnixNano #502

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

binaryphile
Copy link
Contributor

The existing code doesn't provide for the TimeFormatUnixNano case, and the default is to use the timestamp as seconds, not nanoseconds. The following request preserves behavior for any case other than TimeFormatUnixNano, but fixes that case.

@rs rs merged commit 5bdc93f into rs:master Nov 3, 2022
pablitoc pushed a commit to nxcr-org/zerolog that referenced this pull request Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants