-
Notifications
You must be signed in to change notification settings - Fork 2
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
A few issues and requests #1
Comments
Thank you for your comment. Thanks, |
I'll test any new version you come up with. I wonder if parsing the "Current Offset:" from a page like: https://www.timeanddate.com/time/zone/sweden/stockholm with the user specifying the city eg. "sweden/stockholm" in a file could solve the timezone/DST problem and avoid the user interaction completely. |
There are api:s available for extracting your time zone based on your ip but I felt at the time that the complexity outweighed the benefit. Maybe it is time to revisit that topic |
The Wii clock drifts quite badly so thanks for this tool! Daylight saving/summer time can get bizarre in some locations (e.g. Saskatchewan). "During the summer, clocks in the entire province match those of Calgary and Edmonton. During the winter, clocks in most of the province outside Lloydminster match those of Winnipeg" Regina Would the IP address based timezone get the UTC offset right? What about VPN (in the router so even the Wii gets VPN) or what about satellite internet. If I could put "canada/regina" in a timezone.cfg file once, I wouldn't need gamecube controller support at all. Don't know if scraping a website is even possible in a homebrew app. |
Just tried this free API with the URL below (my API key removed) and the gmtOffset is produced correctly in seconds:
Guess you already knew about this API. "YOU must not make more than one request per second to the SERVICE" |
Cool. If I understand you correctly, you have a use case where you:
I'm assuming that step 3 to 6 should be autonomous? |
Your use case above sounds great for when a valid config file is present. If the config file didn't exist or didn't specify a region, your app could behave exactly as it does today. The only thing that would make it even greater is if somehow after the time is set in step 6, a followup app e.g. postsntp.dol were launched if present. Since my Wii boots into wiiflow, I would replace wiiflow's boot.dol with sntp's boot.dol and postsntp.dol would actually be wiiflow's dol. The goal being that the wii's time is corrected transparently before people run the menu app of their choice. Didn't look into the downloading of that free service's data yet but that might involve daylight saving time processing and zoneinfo gets updates occasionally... It would be good though if the free service disappears. |
Maybe it would make more sense integrating the time synchronization into wiiflow? |
Seems like wiiflow has died and wiiflow lite was created and is still active. If you added sntp into wiiflow lite, I'd certainly migrate to that. If not, then this standalone sntp is my best bet. I know nothing about wii homebrew development. |
Thanks for merging Pull Request #3. I see you even documented the two modes of operation (manual/automatic) in the README.TXT. Nice! You say "Create a tzdb.cfg on the root of the SD card" but on my Wii with homebrew channel it goes in sd:/apps/sntp with all the other files of this utility but I guess it depends on the launcher. Thanks for creating this cool utility. Closing this issue. |
Also had to copy the file in it's app folder for it to work so probably mention that in the instructions? |
Check the latest pushed version. Is it good enough?
Thanks,
Erik
Den ons 14 aug. 2024 kl 18:59 skrev Adam Stepek ***@***.***>:
… Also had to copy the file in it's app folder for it to work so probably
mention that in the instructions?
Was about to create a new issue so the file could be checked if that
hadn't worked
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANGFTR5FAM5RWTEUIREAUTZROEHBAVCNFSM6AAAAABMQXX3ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGMZDCMRXGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Congrats on a cool utility!
The text was updated successfully, but these errors were encountered: