Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-12 | shared: Introduce new top-level dir and move 1st party lib code there. | Damien George | |
This commit moves all first-party code developed for this project from lib/ to shared/, so that lib/ now only contains third-party code. The following directories are moved as-is from lib to shared: lib/libc -> shared/libc lib/memzip -> shared/memzip lib/netutils -> shared/netutils lib/timeutils -> shared/timeutils lib/upytesthelper -> shared/upytesthelper All files in lib/embed/ have been moved to shared/libc/. lib/mp-readline has been moved to shared/readline. lib/utils has been moved to shared/runtime, with the exception of lib/utils/printf.c which has been moved to shared/libc/printf.c. Signed-off-by: Damien George <damien@micropython.org> | |||
2021-06-25 | mimxrt: Move calc_weekday helper function to timeutils. | Krzysztof Adamski | |
This function may be useful for other ports as well so lets move it to timeutils so it can be reused. Signed-off-by: Krzysztof Adamski <k@japko.eu> | |||
2021-01-29 | lib/timeutils: Provide simple impl of extra funcs when Epoch is 1970. | Damien George | |
Dates/times must be post 2000/1/1 to work correctly with these simple implementations. Signed-off-by: Damien George <damien@micropython.org> | |||
2020-02-28 | all: Reformat C and Python source code with tools/codeformat.py. | Damien George | |
This is run with uncrustify 0.70.1, and black 19.10b0. | |||
2017-07-31 | all: Use the name MicroPython consistently in comments | Alexander Steffen | |
There were several different spellings of MicroPython present in comments, when there should be only one. | |||
2017-05-29 | various: Spelling fixes | Ville Skyttä | |
2017-03-31 | all: Use full path name when including mp-readline/timeutils/netutils. | Damien George | |
This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed. | |||
2016-06-03 | lib/timeutils/timeutils: Fix pedantic warning in coverage build. | Paul Sokolovsky | |
2016-06-02 | lib/timeutils/timeutils: timeutils_mktime may accept negative time values. | Paul Sokolovsky | |
And will normalize them. | |||
2016-04-27 | lib/timeutils/timeutils: Typo fix in comment. | Paul Sokolovsky | |
2015-05-21 | lib: Fix some issues in timeutils | Dave Hylands | |
In particular, dates prior to Mar 1, 2000 are screwed up. The easiest way to see this is to do: >>> import time >>> time.localtime(0) (2000, 1, 1, 0, 0, 0, 5, 1) >>> time.localtime(1) (2000, 1, 2, 233, 197, 197, 6, 2) With this patch, we instead get: >>> import time >>> time.localtime(1) (2000, 1, 1, 0, 0, 1, 5, 1) Doh - In C % is NOT a modulo operator, it's a remainder operator. | |||
2015-05-13 | lib: Move time utility functions to common library. | Josef Gajdusek | |