镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Document that napi_get_date_value() ignores leap seconds as per spec #29439

Description

@gabrielschulhof

#29401 (comment):

I'm actually not sure whether it does or does not account for leap seconds.

From https://tc39.es/ecma262/#sec-time-values-and-time-range:

Time in ECMAScript does not observe leap seconds; they are ignored.

Activity

  1. added
    docIssues and PRs related to Node.js documentation.
    node-apiIssues and PRs related to Node-API.
    on Sep 4, 2019
  2. levhita commented on Sep 15, 2019

    @levhita
    Contributor

    I'm guessing is the same case with napi_create_date

  3. levhita commented on Sep 15, 2019

    @levhita
    Contributor

    Here, finished PR #29569

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

    docIssues and PRs related to Node.js documentation.node-apiIssues and PRs related to Node-API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions