* Etemplate - Stop times from advancing 1 hour shortly after DST

This commit is contained in:
nathangray 2018-03-29 09:31:45 -06:00
parent c230c9ff16
commit 5b43b1f63c

View File

@ -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!
if (this._type == 'date-timeonly')
{
this.date.setDate(1);
this.date.setMonth(0);
this.date.setFullYear(1970);
this.date.setUTCDate(1);
this.date.setUTCMonth(0);
this.date.setUTCFullYear(1970);
}
else if (this._type == 'date')
{