Replacing parseDate

This commit is contained in:
sean kenny
2014-08-05 14:45:04 +01:00
parent 3334d49f1d
commit e4f5b41937
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -145,15 +145,15 @@ function ResourceView(element, calendar, viewName) {
}
}
function updateOptions() {
tm = opt('theme') ? 'ui' : 'fc';
rtl = opt('isRTL');
minMinute = parseTime(opt('minTime'));
maxMinute = parseTime(opt('maxTime'));
colFormat = opt('columnFormat');
minMinute = moment.duration(opt('minTime'));
maxMinute = moment.duration(opt('maxTime'));
// week # options. (TODO: bad, logic also in other views)
showWeekNumbers = opt('weekNumbers');
weekNumberTitle = opt('weekNumberTitle');