micropython/lib
Dave Hylands a3a14b9db7 lib: Fix some issues in timeutils
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-21 23:31:50 +03:00
..
fatfs lib/fatfs: Space optimise the ff_wtoupper function. 2015-04-11 15:17:04 +01:00
libc lib/libc: Add memchr. We already have strchr, but memchr is useful too. 2015-04-28 16:48:20 +02:00
libm lib/libm: Add implementations of erf, erfc, lgamma, tgamma. 2015-02-22 14:47:11 +00:00
mp-readline py, readline: Add tab autocompletion for REPL. 2015-04-29 00:46:26 +01:00
netutils lib: Move some common mod_network_* functions to lib/netutils. 2015-05-04 11:48:40 +01:00
timeutils lib: Fix some issues in timeutils 2015-05-21 23:31:50 +03:00
README.md lib: Add basic README. 2014-09-18 00:13:03 +01:00

README.md

This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.