CC-2379: "Add Show" uses browser time instead of server time

-Fixed
This commit is contained in:
martin 2011-08-18 15:44:16 -04:00
parent 58c1eff283
commit dd9ef5b9c8
4 changed files with 51 additions and 18 deletions

View file

@ -2275,7 +2275,7 @@ function BasicView(element, calendar, viewName) {
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;