Skip to content

container logs time precision #2825

@fopinappb

Description

@fopinappb

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions