Using a custom DNS (or a limited connection) it's not possible to update your clock with Nintendo's servers and the Switch appears to gain some minutes each month.
With this Tesla plugin you can now quickly update your clock connecting to a public NTP server!
- Update the time by selecting from a list of servers
- Show the current offset against the selected server
- Set the internal network time to the time set by the user in system settings (time traveling, yay!)
- Better error handling / messages
- Show a clock with seconds
- Turn the heart icon in a clock (have to check for the font)
- Get the time in a separated thread
- Pick the closest NTP server based on user region
- Update the time with milliseconds (maybe a system limitation)
- @DarkMatterCore (library updates)
- @DraconicNEO (new NTP servers)
- @3096 for
SwitchTime
who gave me the initial idea and some code examples - @thedax for
NX-ntpc
, used by @3096 - @SanketDG for the NTP Client using
getaddrinfo
instead ofgethostbyname
- @WerWolv for
libtesla
- The "Synchronize Clock via Internet" option should be enabled in System settings as described here, since this program changes the "Network clock" (immutable in settings).
- Please don't send a lot of requests. NTP servers should be requested in 36 hours intervals
- This program changes NetworkSystemClock, which may cause a desync between console and servers. Use at your own risk! It is recommended that you only use the changed clock while offline, and change it back as soon as you are connected (either manually or using ntp.org server.)