summaryrefslogtreecommitdiffstatshomepage
path: root/lib/timeutils/timeutils.c
Commit message (Collapse)AuthorAge
* lib/timeutils/timeutils: Fix pedantic warning in coverage build.Paul Sokolovsky2016-06-03
|
* lib/timeutils/timeutils: timeutils_mktime may accept negative time values.Paul Sokolovsky2016-06-02
| | | | And will normalize them.
* lib/timeutils/timeutils: Typo fix in comment.Paul Sokolovsky2016-04-27
|
* lib: Fix some issues in timeutilsDave Hylands2015-05-21
| | | | | | | | | | | | | | | | | | | 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.
* lib: Move time utility functions to common library.Josef Gajdusek2015-05-13