Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minute offsets aren't supported #7

Open
Lost-Entrepreneur439 opened this issue Feb 26, 2024 · 1 comment
Open

Minute offsets aren't supported #7

Lost-Entrepreneur439 opened this issue Feb 26, 2024 · 1 comment

Comments

@Lost-Entrepreneur439
Copy link

SNTP only supports time-zones with hour offsets, this is an issue, because some time zones, such as Newfoundland Time (UTC-3:30) have minute offsets. While there aren't many people in timezones with minute offsets using Wiis, I feel it should still be implemented for the few people who do.

@yoyoma2
Copy link
Contributor

yoyoma2 commented Feb 26, 2024

I'm not the developer but I contributed a now merged pull request 2 years ago that added the ability to "Automatically get GMT offset from online API". I'm pretty sure it supports timezones with minute offsets. The dev added instructions in the README.TXT so try that.

Get a free API key from timezonedb.com and put it in place of MY_API_KEY and put the line below into tzdb.cfg and optionally autosave on the second line. I delete the 'e' so autosav on the second line when I want to quickly try manual mode but the suggested time is already correct due to line 1.

http://api.timezonedb.com/v2.1/get-time-zone?key=MY_API_KEY&format=json&by=zone&zone=America/St_Johns&fields=gmtOffset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants