mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
No seconds or milliseconds, in date/times
This commit is contained in:
parent
ae491c0810
commit
6418c06b18
@ -207,7 +207,8 @@ var et2_date = et2_inputWidget.extend(
|
|||||||
// User blanked the box
|
// User blanked the box
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// Convert to timestamp
|
// Convert to timestamp - no seconds
|
||||||
|
this.date.setSeconds(0,0);
|
||||||
return Math.round(this.date.valueOf() / 1000);
|
return Math.round(this.date.valueOf() / 1000);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user