Skip to content

Clarify whether now excludes leap seconds #70

@bakkot

Description

@bakkot

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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

        Participants

        @bakkot

        Issue actions

          Clarify whether `now` excludes leap seconds · Issue #70 · WebAssembly/wasi-clocks