Closed
Bug 370670
Opened 18 years ago
Closed 18 years ago
guessSystemTimezone() tries to match against old 20050126_1 timezone definition
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
VERIFIED
FIXED
Sunbird 0.5
People
(Reporter: ssitter, Assigned: jminta)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
2.15 KB,
patch
|
mattwillis
:
first-review+
mattwillis
:
second-review+
|
Details | Diff | Splinter Review |
Bug 366560 moved guessSystemTimezone() from calendarUtils.js to calUtils.js and accidently reverted the changes from Bug 368121.
Now guessSystemTimezone() tries to match against a "/mozilla.org/20050126_1/" timezone string: http://lxr.mozilla.org/mozilla/source/calendar/base/src/calUtils.js#203
Reporter | ||
Comment 1•18 years ago
|
||
Same applies to update tzid changes calendarDefaultTimezone()
Blocks: 366560
Assignee | ||
Comment 2•18 years ago
|
||
Not a direct port of the patch ssitter cited, but essentially the same.
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Attachment #255479 -
Flags: second-review?(mvl)
Attachment #255479 -
Flags: first-review?(lilmatt)
Reporter | ||
Comment 3•18 years ago
|
||
Comment on attachment 255479 [details] [diff] [review]
patch
> function calendarDefaultTimezone() {
>+ // Update this tzid if necessary.
>+ if (icsSvc.latestTzId(gDefaultTimezone).length) {
>+ gDefaultTimezone = icsSvc.latestTzId(gDefaultTimezone);
>+ prefobj.setCharPref("timezone.local", gDefaultTimezone);
>+ }
Where does prefobj comes from?
Assignee | ||
Comment 4•18 years ago
|
||
(In reply to comment #3)
Oops, that should be a setPref("calendar.timezone.local", "CHAR", gDefaultTimezone); call.
Comment 5•18 years ago
|
||
Comment on attachment 255479 [details] [diff] [review]
patch
r=lilmatt with a XXX comment above the 20070129 line noting that we should centralize where that string comes from.
Attachment #255479 -
Flags: first-review?(lilmatt) → first-review+
Comment 6•18 years ago
|
||
Comment on attachment 255479 [details] [diff] [review]
patch
r2=mvl
Attachment #255479 -
Flags: second-review?(mvl) → second-review+
Updated•18 years ago
|
Whiteboard: [needs checkin]
Comment 7•18 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk
-> FIXED
Attachment #255479 -
Attachment is obsolete: true
Attachment #257362 -
Flags: second-review+
Attachment #257362 -
Flags: first-review+
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking-calendar0.5+
Keywords: regression
Resolution: --- → FIXED
Whiteboard: [needs checkin]
Target Milestone: --- → Sunbird 0.5
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
Flags: blocking-calendar0.5+
You need to log in
before you can comment on or make changes to this bug.
Description
•