mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
fix
This commit is contained in:
parent
fef125cf36
commit
76b82f8412
@ -599,8 +599,8 @@
|
||||
table+='<td data-date="'+start.getDate()+'" data-month="'+start.getMonth()+'" data-year="'+start.getFullYear()+'"'+
|
||||
' class="'+
|
||||
(
|
||||
(options.maxDate!==false&&Math.round(xd.strtodate(options.maxDate).getTime()/86400000)<=Math.round(start.getTime()/86400000))||
|
||||
(options.minDate!==false&&Math.round(xd.strtodate(options.minDate).getTime()/86400000)>=Math.round(start.getTime()/86400000))
|
||||
(options.maxDate!==false&&Math.round(xd.strtodate(options.maxDate).getTime()/86400000)<Math.round(start.getTime()/86400000))||
|
||||
(options.minDate!==false&&Math.round(xd.strtodate(options.minDate).getTime()/86400000)>Math.round(start.getTime()/86400000))
|
||||
?'xdsoft_disabled ':' ')+
|
||||
(xd.currentTime.getMonth()!=start.getMonth()?' xdsoft_other_month ':' ')+
|
||||
(xd.currentTime.dateFormat('d.m.Y')==start.dateFormat('d.m.Y')?' xdsoft_current ':' ')+
|
||||
|
Loading…
Reference in New Issue
Block a user