Skip to content
Snippets Groups Projects

fix(utime.c): set_time should operate in local tz

Merged fpletz requested to merge fpletz/firmware:fix/set-time-local-tz into master
Files
2
@@ -25,11 +25,13 @@ alarm.
.. py:function:: time()
Return the current timestamp in seconds since 2000-01-01 00:00.
Return the current timestamp in seconds since 2000-01-01 00:00 in
the local timezone.
.. py:function:: set_time(secs)
Sets the time to ``secs`` seconds since 2000-01-01 00:00.
Sets the time to ``secs`` seconds since 2000-01-01 00:00 in the local
timezone.
.. py:function:: set_unix_time(secs)
Loading