Closed
Bug 292375
Opened 19 years ago
Closed 18 years ago
calIDateTime::normalize() dropping timezone info in lightning
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: pavlov, Unassigned)
Details
var a = Components.classes["@mozilla.org/calendar/datetime;1"].createInstance(Components.interfaces.calIDateTime); a.nativeTime = 1114800300000000; var b = a.getInTimezone("/mozilla.org/20050126_1/America/Los_Angeles"); dump(b); b.minute += 15; b.normalize(); dump(b); This code, in xpcshell, dumps: "2005/04/29 11:45:00 /mozilla.org/20050126_1/America/Los_Angeles" "2005/04/29 12:00:00 /mozilla.org/20050126_1/America/Los_Angeles" If you do the same code in lightning it gives: "2005/04/29 11:45:00 /mozilla.org/20050126_1/America/Los_Angeles" "2005/04/29 12:00:00 UTC"
Assignee: vladimir → nobody
Comment 1•18 years ago
|
||
WFM in current Lightning.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•