sintonia/airtime_mvc/public/js/fullcalendar/AIRTIME_DEV_README

25 lines
832 B
Plaintext
Raw Normal View History

Before you overwrite fullcalendar.js, note that we have changed one line
of this file.
Running a diff between the original fullcalendar.js and our modified one:
$diff -u fullcalendar_original.js fullcalendar.js
--- fullcalendar_original.js 2011-04-09 17:13:15.000000000 -0400
+++ fullcalendar.js 2011-08-19 11:58:49.672894583 -0400
@@ -2275,7 +2275,7 @@
function updateCells(firstTime) {
var dowDirty = firstTime || rowCnt == 1; // could the cells' day-of-weeks need updating?
var month = t.start.getMonth();
- var today = clearTime(new Date());
+ var today = clearTime(adjustDateToServerDate(new Date(), opt("serverTimezoneOffset")));
var cell;
var date;
var row;
adjustDateToServerDate() function is defined in "js/airtime/schedule/full-calendar-functions.js"
Please make this change before updating!!!