Merge pull request #63 from igorfv/master

Fixes the daylight saving time duplicated/missing date problem
This commit is contained in:
Valeriy 2014-02-25 08:15:14 +06:00
commit 198b14df57

View File

@ -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 )