mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 13:39:23 +01:00
* Etemplate - Stop times from advancing 1 hour shortly after DST
This commit is contained in:
parent
c230c9ff16
commit
5b43b1f63c
@ -612,9 +612,9 @@ String: A string in the user\'s date format, or a relative date. Relative dates
|
|||||||
// date-timeonly returns just the seconds, without any date!
|
// date-timeonly returns just the seconds, without any date!
|
||||||
if (this._type == 'date-timeonly')
|
if (this._type == 'date-timeonly')
|
||||||
{
|
{
|
||||||
this.date.setDate(1);
|
this.date.setUTCDate(1);
|
||||||
this.date.setMonth(0);
|
this.date.setUTCMonth(0);
|
||||||
this.date.setFullYear(1970);
|
this.date.setUTCFullYear(1970);
|
||||||
}
|
}
|
||||||
else if (this._type == 'date')
|
else if (this._type == 'date')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user