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

container logs time precision #2825

Open
fopinappb opened this issue Apr 19, 2021 · 0 comments
Open

container logs time precision #2825

fopinappb opened this issue Apr 19, 2021 · 0 comments

Comments

@fopinappb
Copy link

https://github.com/docker/docker-py/blob/master/docker/api/container.py#L845

This discards any microseconds from datetime while the API allows floats to be sent with the same precision as shown in the timestamps of the output (10^-9).

Even if datetime only keeps 10^-9, it'd still be nice to use that precision instead of just seconds.

moby/moby#41784 (comment)

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

No branches or pull requests

1 participant