1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
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
Turiiya
ac0ae1966a
time: update doc comments (#18947) 2023-07-22 21:30:36 +03:00
Turiiya
2eea59c4cc
time: fix and cleanup int validity checks (#18885) 2023-07-17 22:24:52 +03:00
Delyan Angelov
2c7643661e
time: small cleanup of parse_iso8601 comments, make the C.strftime declaratione forwards compatible 2023-06-24 08:01:57 +03:00
squidink7
5006ffb304
time, x.json2: improve iso8601 time decoding (#18496) 2023-06-21 12:34:50 +03:00
sandbankdisperser
e97aff8742
time: add more detailed error descriptions, add custom format parsing with time.parse_format (#18257) 2023-06-06 18:43:10 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Delyan Angelov
508bfbf892
time: do not panic for time.parse("2020-02-02 20.02.20")!, just return an error instead (fix #16779) 2022-12-27 13:01:01 +02:00
yuyi
992b502198
db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
David 'Epper' Marshall
26b81d68b5
time: update doc comments (#14359) 2022-05-11 16:55:19 +03:00
Delyan Angelov
084f2867b6
time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano). 2022-05-08 14:54:57 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Larpon
69fa87ad24
toml: add date and time checks (#12427) 2021-11-11 07:27:41 +02:00
Delyan Angelov
ef0eaeee08
ci: fix broken js tests 2021-10-19 20:05:27 +03:00
Alexander Medvednikov
45534b512b time: move pure V function from time.c.v 2021-10-19 16:03:45 +03:00
Delyan Angelov
23e679475c
time: sanity check parsed date/times 2021-10-09 11:05:49 +03:00
Larpon
5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00
playX
8d6903a65a
time: move C backend specific code into .c.v files (#11125) 2021-08-10 14:34:53 +03:00
Alexander Medvednikov
1590783f02 Revert "time: use .c.v for files that use C. functions (#9447)"
This reverts commit 5d8b9b0151.
2021-03-25 07:35:34 +03:00
zakuro
5d8b9b0151
time: use .c.v for files that use C. functions (#9447) 2021-03-24 20:15:17 +02:00