Commit graph

21 commits

Author SHA1 Message Date
Delyan Angelov
153b7f00df
time: add module helpers unix_milli/1, unix_micro/1, unix_nano/1 and tests for them (#22997) 2024-11-28 12:47:05 +02:00
Delyan Angelov
5bba92a65a
vlib: remove modules/functions/fields, deprecated in 2023 (#22750) 2024-11-17 20:09:21 +02:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Turiiya
95426d53f0
time: cleanup module (#21217) 2024-04-09 14:05:14 +03:00
Hitalo Souza
a9c10428d2
time: rename identifiers and parameter names (#20913) 2024-02-27 03:09:24 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Delyan Angelov
b9a523cefd
time: store time with nanosecond resolution in time.Time, deprecate Time.microsecond, add utility methods and tests (#19062) 2023-08-05 23:41:23 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
David 'Epper' Marshall
c28051020a
time: fix calculate_date_from_offset (#14399) 2022-05-15 10:55:24 +03:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Alexander Medvednikov
eb1ac5b30d time: use i64 in unix() 2021-08-16 06:28:54 +03:00
Delyan Angelov
efa8dcf4d2
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050) 2021-08-04 13:12:02 +03:00
Delyan Angelov
55eeb701a9
time: fix time.parse_iso8601(2037-07-23)?.add_days(181).str() == "1901-12-13 17:31:44" 2021-07-06 18:54:33 +03:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
yuyi
a1c67232d0
checker: fix duplicate variable name (fix #265) (#7982) 2021-01-10 21:41:29 +01:00
zakuro
6a74058190
time: make parse_iso8601 support a date only format (#7277) 2020-12-16 13:10:02 +02:00
Takahiro Yaota
0c50f0c9dc
time: v fmt (#7160) 2020-12-06 15:19:39 +01:00
Tomas Hellström
9c8769503f
time: add microsecond precision to Time struct 2020-06-07 16:19:09 +03:00
Uwe Krüger
013fdb8a4b
checker: restrict numeric promotions to cases where no data is lost 2020-05-27 05:42:48 +02:00
Alexey
65744207fc
time: reorganize module 2020-02-06 14:19:44 +01:00
Renamed from vlib/time/time_unix.v (Browse further)