update datepicker

This commit is contained in:
vitalets 2012-12-06 22:15:45 +04:00
parent 01a6788270
commit 111f983f5d

@ -429,10 +429,7 @@
break;
case 'today':
var date = new Date();
date.setUTCHours(0);
date.setUTCMinutes(0);
date.setUTCSeconds(0);
date.setUTCMilliseconds(0);
date = UTCDate(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0);
this.showMode(-2);
var which = this.todayBtn == 'linked' ? null : 'view';