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.
The method getDate and getUTCDate give result in 0-30 range while, accoding to spec it should be 1-31 (I agree taht getDate in 1-31 and getMonth in 0-11 is not coherent, but this is what the specs are saying).
More importantly, getDate can give result outside the month range (and together with getMonth, we can have a date like 32nd august !!!)
The text was updated successfully, but these errors were encountered:
If you are using PhantomJS 1.9.x, please update to 2.0, it contains a much newer Webkit that may have resolved the problem. If you still experience the problem with 2.0 please reopen this issue and provide a complete JavaScript program that demonstrates the problem.
The method getDate and getUTCDate give result in 0-30 range while, accoding to spec it should be 1-31 (I agree taht getDate in 1-31 and getMonth in 0-11 is not coherent, but this is what the specs are saying).
More importantly, getDate can give result outside the month range (and together with getMonth, we can have a date like 32nd august !!!)
The text was updated successfully, but these errors were encountered: