Opened 14 years ago

Last modified 12 years ago

#2587 closed defect

getDayOfYear() is inaccurate between midnight and 1 am — at Initial Version

Reported by: guest Owned by: psowden
Priority: high Milestone: 0.9
Component: Date Version: 0.4.1
Keywords: Cc: [email protected]
Blocked By: Blocking:


This only applies in places that do daylight savings time switches, but in those locations, in between the spring switch and the fall switch, returns the wrong value for an hour after midnight. (It's all due to last Sunday lasting only 23 hours)

getDayOfYear(new Date(2007,2,13,0,13))
getDayOfYear(new Date(2007,2,13,1,13))

Change History (0)

Note: See TracTickets for help on using tickets.