| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-01 | extmod/utime_mphal: Add generic utime.time_ns() function. | Damien George | |
| It requires mp_hal_time_ns() to be provided by a port. This function allows very accurate absolute timestamps. Enabled on unix, windows, stm32, esp8266 and esp32. Signed-off-by: Damien George <damien@micropython.org> | |||
| 2020-09-18 | ports: Add utime.gmtime() function. | Damien George | |
| To portably get the Epoch. This is simply aliased to localtime() on ports that are not timezone aware. Signed-off-by: Damien George <damien@micropython.org> | |||
| 2017-11-30 | docs/library/utime: Fix incorrect example with ticks_diff args order. | Paul Carver | |
| The parameter order in the example for ticks_diff was incorrect. If it's "too early" that means that scheduled time is greater than current time and if it's "running late" then scheduled time would be less than current time. | |||
| 2017-07-02 | docs/library: Add CPython docs xref to each pertinent module. | Paul Sokolovsky | |
| Cross-reference text/link is implemented as RST substitution, so easy to consistently. | |||
| 2017-06-25 | docs/utime: Use markup adhering to the latest conventions. | Paul Sokolovsky | |
| 2017-05-29 | various: Spelling fixes | Ville Skyttä | |
| 2017-04-09 | docs/utime: Deconditionalize description of sleep(). | Paul Sokolovsky | |
| 2017-04-05 | docs/utime: De-conditionalize description of sleep_ms() and friends. | Paul Sokolovsky | |
| These are basic MicroPython API, and all ports should implement them. | |||
| 2017-03-17 | utime module documentation fixes and cleanup: | Christopher Arndt | |
| * Fix mis-spelling of `ticks_add` in code examples. * Be consistent about parentheses after function names. * Be consistent about formatting of function, variable and constant names. * Be consistent about spaces and punctuation. * Fix some language errors (missing or wrong words, wrong word order). * Keep line length under 90 chars. Signed-off-by: Christopher Arndt <chris@chrisarndt.de> | |||
| 2016-11-01 | docs/utime: Add docs for ticks_add(), improvements for other ticks_*(). | Paul Sokolovsky | |
| 2016-11-01 | docs/utime: Remove only:: for ticks_diff(). | Paul Sokolovsky | |
| It's mandatory function which should be present in every port. Even if it's not, in the stdlib intro we waarn users that a particular port can lack anything of described in the docs. | |||
| 2016-10-31 | docs/utime: Describe new semantics of ticks_diff() (signed ring arithmetics). | Paul Sokolovsky | |
| 2016-10-30 | docs/utime: Document ticks_cpu() in more detail. | Paul Sokolovsky | |
| Also, drop ::only directive. | |||
| 2016-08-02 | docs: Spelling mistakes | Mike Causer | |
| 2016-05-01 | docs/utime: Clarify module purpose. | Paul Sokolovsky | |
| 2016-05-01 | docs/library/utime: Elaborate on epochs and calendar time maintenance. | Paul Sokolovsky | |
| 2016-04-27 | docs/library: Consistently use admonitions for CPython differences. | Paul Sokolovsky | |
| 2016-04-27 | docs/utime: Describe sleep() peculiarities in MicroPython. | Paul Sokolovsky | |
| Not all ports accept floating-point value. | |||
| 2016-04-27 | docs/utime: Describe time() peculiarities in MicroPython. | Paul Sokolovsky | |
| 2016-04-27 | docs/library/utime: Add more time functions for unix and esp8266 ports. | Damien George | |
| 2016-04-27 | docs: Fix uos and utime heading underlines to be the correct length. | Damien George | |
| Otherwise Sphinx gives a warning. | |||
| 2016-04-27 | docs: Module "time" is actually "utime". | Paul Sokolovsky | |
