Convert all time to browser timezone
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user