Convert all time to browser timezone

This commit is contained in:
2019-10-19 21:04:22 +02:00
parent 36dee241fa
commit 29106b7e04
6 changed files with 12 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ function Spot(asGlobals)
this.consts.hash_sep = '-';
this.consts.title = 'Spotty';
this.consts.default_page = 'project';
//this.consts.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
this.consts.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
/* Initialization */
@@ -69,7 +69,8 @@ function Spot(asGlobals)
bProcessIcon = bProcessIcon || false;
//if(bProcessIcon) self.addBufferIcon();
oVars['a'] = sAction;
oVars['a'] = sAction;
oVars['t'] = self.consts.timezone;
return $.ajax(
{
url: self.consts.process_page,