* Addressbook/all apps: dates change every time they get stored (temporary fix as conditions causing that are not clear)

This commit is contained in:
Ralf Becker 2014-07-25 10:17:38 +00:00
parent cf5b4b449d
commit 787d5385ba

View File

@ -238,6 +238,10 @@ var et2_date = et2_inputWidget.extend(
this.date.setMonth(0);
this.date.setFullYear(1970);
}
else if (this._type == 'date')
{
this.date.setHours(12);
}
// Convert to timestamp - no seconds
this.date.setSeconds(0,0);
return Math.round(this.date.valueOf() / 1000);