You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
call new Date('2900') or any date string higher than the year 2834
Which operating system are you using?
OSX 10.11.6
Did you use binary PhantomJS or did you compile it from source?
binary distribution using npm install phantomjs-prebuilt
Please provide any additional information below.
The machine is configured to CET local time. Not sure if this has any impact on that specific problem.
The problem is that that any call to new Date() using a year higher than 2834 the resulting date will be off by one day
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Which version of PhantomJS are you using?
Version: 2.1.1
What steps will reproduce the problem?
new Date('2900')
or any date string higher than the year 2834Which operating system are you using?
OSX 10.11.6
Did you use binary PhantomJS or did you compile it from source?
binary distribution using npm install phantomjs-prebuilt
Please provide any additional information below.
The machine is configured to CET local time. Not sure if this has any impact on that specific problem.
The problem is that that any call to
new Date()
using a year higher than 2834 the resulting date will be off by one daye.g. in phantomjs shell
in node (v6.4) the result looks like
in Chrome (54.0.x) the result is
The text was updated successfully, but these errors were encountered: