Open
Description
micropython-samples/ntptime/ntptime.py
Line 21 in d7529ba
Uses hours (rather than minutes of seconds). I suspect the math later could cause odd behaviors with timezones that are not whole hours (for example India has a half hour, one of the more simple partial hours examples).
Accepting minutes or seconds is likely a more robust solution than float to int conversion.
This is mostly a note to myself, I do not yet need to support MicroPython any when than my home at the moment (which is a whole hour offset :-))
Metadata
Metadata
Assignees
Labels
No labels
Activity