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

Clarify whether now excludes leap seconds #70

Open
bakkot opened this issue Jun 21, 2024 · 0 comments
Open

Clarify whether now excludes leap seconds #70

bakkot opened this issue Jun 21, 2024 · 0 comments

Comments

@bakkot
Copy link

bakkot commented Jun 21, 2024

The documentation of now says

    /// The returned timestamps represent the number of seconds since
    /// 1970-01-01T00:00:00Z, also known as [POSIX's Seconds Since the Epoch],
    /// also known as [Unix Time].

But those things are in contradiction: Unix time is currently 37 seconds behind the number of seconds since 1970-01-01T00:00:00Z.

This should be clarified, probably by adding "excluding leap seconds" to the description.

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