mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
Make NewCalDateTime do the right thing. bug 297530, r=pavlov
This commit is contained in:
parent
8c2557fe6f
commit
07b56ea7ee
@ -49,7 +49,7 @@ const HashPropertyBag = new Components.Constructor(kHashPropertyBagContractID, k
|
||||
function NewCalDateTime(aJSDate) {
|
||||
var c = new CalDateTime();
|
||||
if (aJSDate)
|
||||
c.jsDate = c;
|
||||
c.jsDate = aJSDate;
|
||||
return c;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user