mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Fixes the daylight saving time duplicated date problem
This commit is contained in:
parent
1ec209f119
commit
279cc3b17b
@ -705,7 +705,7 @@
|
||||
datetimepicker
|
||||
.on('xchange.xdsoft',function( event ) {
|
||||
var table = '',
|
||||
start = new Date(_xdsoft_datetime.currentTime.getFullYear(),_xdsoft_datetime.currentTime.getMonth(),1),
|
||||
start = new Date(_xdsoft_datetime.currentTime.getFullYear(),_xdsoft_datetime.currentTime.getMonth(),1, 12, 0, 0),
|
||||
i = 0,
|
||||
today = _xdsoft_datetime.now();
|
||||
while( start.getDay()!=options.dayOfWeekStart )
|
||||
|
Loading…
Reference in New Issue
Block a user