forked from extern/egroupware
* Addressbook/all apps: dates change every time they get stored (temporary fix as conditions causing that are not clear)
This commit is contained in:
parent
35e5ff6d6e
commit
970331b97c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user