forked from extern/egroupware
* Etemplate - Stop times from advancing 1 hour shortly after DST
This commit is contained in:
parent
045974085f
commit
41726e4293
@ -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