engineer9090909090909090 / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Error 16/10/2011 #319

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Anyone can click into "16/10/2011?"

When i click on this date its set "15/10/2011.

Click on 16/10/2011 and see it.

Please, help me.

Original issue reported on code.google.com by murilo...@gmail.com on 13 Oct 2011 at 4:01

GoogleCodeExporter commented 8 years ago
Murilo, I too had this problem and it was related to daylight savings time in 
my country. Somewhere in the code a calculation is made to determine which day 
corresponds to each particular cell.

In this case, because of daylight savings time, the calendar gets confused and 
thinks (just guessing here, I haven't looked at the code) that "16/October/2011 
00:00" is actually still day 15. The day displayed is still 16, but the date 
attached to that cell is 15.

I haven't yet solved this issue because it is not a priority in my project, but 
maybe this helps narrow down the problem.

Original comment by st.ne...@gmail.com on 3 Dec 2011 at 8:34

GoogleCodeExporter commented 8 years ago
Thank sir,

I havent time to solve it, and i use now jQueryUI datepicker.

But jQuery datepicker is a great calendar

Original comment by murilo...@gmail.com on 3 Dec 2011 at 11:59

GoogleCodeExporter commented 8 years ago
Daylight savings bug should be fixed in date.js (see #362)

Original comment by kelvin.l...@gmail.com on 24 Mar 2013 at 10:20