mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #63 from igorfv/master
Fixes the daylight saving time duplicated/missing date problem
This commit is contained in:
commit
198b14df57
@ -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