Commit Graph

20 Commits (a3ab5df2ed690e728582649a260b202fa879d48a)

Author SHA1 Message Date
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Alexey 65744207fc
time: reorganize module 2020-02-06 14:19:44 +01:00
Alexey 91e181b14a
time: return optional value in `parse` and `parse_iso` functions 2020-02-06 10:22:00 +01:00
Alexey a61c9c617d
time: use `_mkgmtime` and `timegm` to calculate unix time 2020-02-05 06:13:11 +01:00
vitalyster 21b54723e4
time: fix timezone 2020-02-04 12:17:04 +01:00
nsauk 84438c0139 time: add str() 2020-01-20 15:06:15 +01:00
Alexander Medvednikov 87cff0386c time: gmt offset; macos syscalls 2020-01-01 10:09:19 +01:00
sh0f 3c17851200 time: add test for #3291 2020-01-01 08:00:23 +01:00
Alexander Medvednikov 4d31d5882d x64, v2 backends 2019-12-31 19:42:16 +01:00
lutherwenxu 286a0a1371 time: rewrite unix() function 2019-12-31 17:11:47 +01:00
Alexander Medvednikov da5fb5dcbd Revert "x64, v2 backends"
This reverts commit 81ae54d9bd.
2019-12-31 13:23:12 +01:00
Alexander Medvednikov 81ae54d9bd x64, v2 backends 2019-12-31 13:21:22 +01:00
yatsen1 137a473bb7 add time.parse_iso 2019-12-23 13:36:51 +03:00
yatsen1 d03f0ec294 fix time.parse() 2019-12-23 13:25:44 +03:00
Alexey dacc129fd8 time: improve tests 2019-12-22 22:58:41 +03:00
Enrico Lefass a691cc857e time: add new public functions for formatting 2019-11-01 02:13:03 +03:00
Alexander Medvednikov 207bab5f79 generics, vweb, comptime codegen, etc 2019-07-29 18:24:48 +02:00
Alexander Medvednikov 6995cc0234 time: fix test_days_in_month() 2019-07-14 16:47:02 +02:00
nxshock 1ce295b683 time: days_in_month() 2019-07-14 16:43:57 +02:00
nxshock b3e5c89ba9 time: add is_leap_year(year int) 2019-07-03 18:55:07 +02:00