question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you add an option to change the time zone?

See original GitHub issue

You should modify the function ‘updateTime ()’ and add a new variable in the json.

this.zone = jsonData["timeZone"] /*"Europe/Madrid"*/
var timeZone = new Date().toLocaleString("en-US", {timeZone: zone});
currentDate = new Date(timeZone);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
reesericcicommented, May 31, 2020

Yeah this ties in with issue #13

1reaction
ghostcommented, May 20, 2020

Ok, this would be great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add, remove, or change time zones - Microsoft Support
Click the File tab. Click Options. On the Calendar tab, under Time zones, select the Show a second time zone check box and,...
Read more >
Set time, date & time zone - Android Help - Google Support
You can change your clock's settings, including the date, time, and time zone. You can set how your alarms and timers work, and...
Read more >
If you can't change the time or time zone on your Apple device
Open Date & Time settings and make sure that the option to set time and date automatically, as well as the option to...
Read more >
Allow or Prevent Users to Change Time Zone in Windows 10
To Allow Users or Groups to Change Time Zone Windows 10, ; Local Security Policy will open. Go to User Local Policies ->...
Read more >
Add, remove, or change time zones in Outlook - Help Center
When Outlook is set to a time zone that observes daylight saving time, the clock adjusts for daylight saving time by default. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found