Wykres commitów

10 Commity (09c59c47042b61e96519e22d451d36d86b37a518)

Autor SHA1 Wiadomość Data
Paul Sokolovsky d69aaba546 time: Introduce "real" struct_time.
Implemented using namedtuple and lacks tm_zone, tm_gmtoff fields.
2017-09-09 14:01:00 +03:00
Paul Sokolovsky c00210106b time: Add daylight and timezone vars. 2017-09-05 01:04:10 +03:00
Paul Sokolovsky 50ae5ef4aa time: Add dummy struct_time constructor.
CPython compatibility. As we don't have a proper struct_time, and use
tuple instead, the constructor is identity function.
2017-09-04 12:59:19 +03:00
Paul Sokolovsky f51d7ec0db time: time_t is at least long int, convert it as such.
Rumors even says that it may be long long on recent 32-bit Linux x86
systems.
2017-09-04 12:47:29 +03:00
sschwartzcpu ac66b1ca1a time: strftime: 2nd parameter must be a struct tm tuple.
As described in https://docs.python.org/3/library/time.html#time.strftime
2017-08-27 12:19:47 +03:00
Renaud Guillon bd7c796043 time: Added the functions mktime localtime and gmtime 2016-09-18 20:19:21 +03:00
Paul Sokolovsky 4336125d3a time: Depend on ffilib. 2015-09-07 22:05:41 +03:00
Paul Sokolovsky f9fe0185ba time: Dummy implementation of perf_counter() & process_time().
Redirect to time() and clock() respectively.
2015-01-05 00:34:18 +02:00
Paul Sokolovsky 8c7a4194d7 time: Initial cut at implementing strftime() (via ffi). 2015-01-04 00:41:44 +02:00
Paul Sokolovsky 1387950bb0 time: Add dummy "time" module, following renaming builtin to "utime". 2014-12-17 00:36:04 +02:00