Skip to content

pycardium/utime: add set_time_ms and set_unix_time_ms

Ferdinand Bachmann requested to merge yrlf/firmware:add-set_time_ms into master

This merge request adds millisecond variants of the set_time functions.

This can be useful in case one wants to change the time without desyncing the milliseconds by accidently resetting them to 0.

Added functions:

  • utime.set_time_ms(ms)
  • utime.set_unix_time_ms(ms)
Edited by Ferdinand Bachmann

Merge request reports