Skip to content

Regression from 0.11.7 - wrong datetime shown for up to a minute after setting clock forwards #3199

Description

@net147

On Windows 7:

  1. Run node.exe
  2. Enter "new Date()" and press enter
  3. Adjust the system clock by moving it forward a 3 minutes
  4. Press up and enter to repeat step 2. Notice the time shows the wrong value for minutes. This is incorrect for up to about a minute.

This issue occurs on Windows from Node.js 0.11.8 onwards. Doesn't seem to occur on Linux.

Activity

  1. net147 commented on Oct 6, 2015

    @net147
    Author

    This issue also occurs in Google Chrome.

  2. added
    windowsIssues and PRs related to the Windows platform.
    v8 engineIssues and PRs related to the V8 dependency.
    on Oct 6, 2015
  3. evanlucas commented on Oct 6, 2015

    @evanlucas
    Contributor

    I believe v8 caches the date configuration and allows for a notification that date has changed. I would say this is working as expected though.

  4. evanlucas commented on Oct 20, 2015

    @evanlucas
    Contributor

    Closing as this isn't really in our control. This is due to the way v8 caches the date/time

  5. net147 commented on Oct 20, 2015

    @net147
    Author

    Issue is tracked in Chromium project: https://code.google.com/p/chromium/issues/detail?id=17155

  6. evanlucas commented on Oct 20, 2015

    @evanlucas
    Contributor

    Thanks @net147!

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

    v8 engineIssues and PRs related to the V8 dependency.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions