Issue 3348: Not able to get Current year using date() of JavaScript
http://code.google.com/p/chromium/issues/detail?id=3348
New issue report by satishk4u:
Product Version : 0.2.149.30
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 3:
Firefox 3:
IE 7:OK
What steps will reproduce the problem?
1. I have code like this in my javascript.
var curDate = new Date();
var curYear = curDate.getYear();
Here curYear is coming as 108 instead of 2008.
I am using wndows-Xp with all latest updates in my system.
What is the expected result?
Expected result should come as 2008 for current year.
What happens instead?
browser is returning value as 108 which is wrong.
Attachments:
Chrome-Bug.bmp 2.3 MB
alert_year.bmp 2.3 MB
Code.bmp 2.3 MB
Issue attributes:
Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc
--
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---