Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 16406 by bovineaux: Date object getFullYear returning previous
year when date falls on first month
http://code.google.com/p/chromium/issues/detail?id=16406
Chrome Version : 3.0.192.1 (Official Build 20012)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4: Untested, pass in Safari 3
Firefox 3.x: Pass
IE 7: Pass
IE 8: Pass
What steps will reproduce the problem?
1. Open javascript console
2. Run: (new Date(2009, 0, 1)).getFullYear()
3.
What is the expected result?
2009
What happens instead?
Reported value is 2008
Please provide any additional information below. Attach a screenshot if
possible.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---