зеркало из https://github.com/mozilla/gecko-dev.git
Make the agenda work in the default timezone, not a hardcoded tz of Los_Angeles (bug 329647); thanks to <ssitter@googlemail.com> for finding and patching this, r=dmose.
This commit is contained in:
Родитель
01367db66d
Коммит
88f0ff2614
|
@ -385,8 +385,7 @@ function refreshPeriodDates()
|
|||
var now = new Date();
|
||||
var d = new CalDateTime();
|
||||
d.jsDate = now;
|
||||
//XXX use default timezone
|
||||
d = d.getInTimezone("/mozilla.org/20050126_1/America/Los_Angeles");
|
||||
d = d.getInTimezone(calendarDefaultTimezone());
|
||||
|
||||
// Today: now until midnight of tonight
|
||||
this.today.start = d.clone();
|
||||
|
|
Загрузка…
Ссылка в новой задаче