mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix for some customfield dates going missing
This commit is contained in:
parent
1b3c8d15c8
commit
683a624710
@ -157,7 +157,7 @@ var et2_date = et2_inputWidget.extend(
|
||||
this.date.setTime(text.valueOf()+localOffset);
|
||||
_value = Math.round(this.date.valueOf() / 1000);
|
||||
}
|
||||
} else if (typeof _value == 'number') {
|
||||
} else if (typeof _value == 'number' || !isNaN(_value)) {
|
||||
// Timestamp
|
||||
// JS dates use milliseconds
|
||||
this.date.setTime(parseInt(_value)*1000);
|
||||
|
Loading…
Reference in New Issue
Block a user