summaryrefslogtreecommitdiff
path: root/firmware/libc/gmtime.c (follow)
Commit message (Collapse)AuthorAge
* gmtime: avoid a modulusRafaël Carré2012-03-18
| | | | | | since WEEK_SECONDS = 7 * DAY_SECONDS, the result is the same Change-Id: Iec161fc2de626c99c1aabf80ab1d3243eac602d9
* fix year calculation in gmtimeBertrik Sikken2012-03-12
| | | | Change-Id: I9a5f29ad73b5620096d38874c70351db9bd90062
* gmtime: reduce array size: days in month fit in 8 bitsRafaël Carré2012-03-11
| | | | Change-Id: Idcebdf0ae120cfc82a1f471d0553d23ca36d7eef
* Introduce gmtime.c and use it in the AS3514 RTC driverBertrik Sikken2012-03-11
Change-Id: I00a09ae28a68f8153fb8fa854fea741ddfb0bf09 Reviewed-on: http://gerrit.rockbox.org/175 Tested-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Reviewed-by: Rafaël Carré <rafael.carre@gmail.com>