forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nrf: utime: Add localtime and mktime calls
Currently the nrf port doesn't implement a proper RTC (it exposes raw RTCounters instead) but it is still useful to implement localtime() and mktime() (although the argument to localtime becomes mandatory).
- Loading branch information
1 parent
a982035
commit 2e5cb3e
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters