Make NewCalDateTime do the right thing. bug 297530, r=pavlov

This commit is contained in:
mvl%exedo.nl 2005-06-13 09:36:45 +00:00
parent 8c2557fe6f
commit 07b56ea7ee

View File

@ -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;
}