yuyi
|
e1758bc0c5
|
cgen: fix infix expr with number overflow (fix #18905) (#18936)
|
2023-07-23 13:18:22 +03:00 |
|
Turiiya
|
ac0ae1966a
|
time: update doc comments (#18947)
|
2023-07-22 21:30:36 +03:00 |
|
werkzeug
|
a3449098a9
|
time: fix losing of the .is_local value after adding duration (#18938)
|
2023-07-22 07:01:11 +03:00 |
|
Turiiya
|
4f629cd883
|
time: fix hour 0 parsing, remove unused function (#18897)
|
2023-07-18 17:28:40 +03:00 |
|
Turiiya
|
bf98f7c9ee
|
time: fix parse_format with YY (#18887)
|
2023-07-18 02:05:49 +03:00 |
|
Turiiya
|
2eea59c4cc
|
time: fix and cleanup int validity checks (#18885)
|
2023-07-17 22:24:52 +03:00 |
|
Turiiya
|
63867d4ce0
|
time: add missing custom_format token (#18880)
|
2023-07-17 10:40:27 +03:00 |
|
Casper Kuethe
|
a43064af07
|
picoev, picohttparser: reimplement in V (#18506)
|
2023-07-12 09:40:16 +03:00 |
|
Alexander Medvednikov
|
5355c67ebe
|
vweb: document live reload
|
2023-07-08 19:29:27 +03:00 |
|
Delyan Angelov
|
4c9c515f8b
|
parser: remove hardcoded check for function calls for C.stat , C.sigaction , etc (#18535)
|
2023-06-24 08:03:12 +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 |
|
acimnotes
|
790afbce94
|
time: add new method year_day and the tests for it (#18107)
|
2023-05-12 09:27:20 +03:00 |
|
yuyi
|
467a1b4435
|
fmt: remove redundant parenthesis in the complex infix expr (#17873)
|
2023-04-04 13:47:48 +03:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
Swastik Baranwal
|
93b7cc4888
|
cgen: allow using of original operation if alias is number and no custom method is defined (#17718)
|
2023-03-21 11:39:58 +02:00 |
|
yuyi
|
17000ef7b6
|
checker: check option fn returning error (fix #17423) (#17438)
|
2023-03-02 15:49:50 +02:00 |
|
Petr Makhnev
|
864e1994b0
|
vlib/time: format table for custom_format() (#17428)
* vlib/time: format table for `custom_format()`
* small fix
* small fix
|
2023-02-27 21:48:05 +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 |
|
Delyan Angelov
|
ad24c22250
|
time: add more UTC/local time conversion functions, make Time.format_rfc3339 more stable
|
2022-12-11 13:34:01 +02:00 |
|
Delyan Angelov
|
94098eef79
|
time: use UTC time in Time.format_rfc3339, make test more robust
|
2022-12-11 10:36:29 +02:00 |
|
Delyan Angelov
|
2ecb892985
|
time: add Time.format_rfc3339() method
|
2022-12-11 10:23:05 +02:00 |
|
Delyan Angelov
|
e419faf746
|
all: fix dependant ->dependent typos, cleanup comments
|
2022-12-02 12:51:10 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Hitalo Souza
|
38555a92e1
|
time: change days_from_civil to days_from_unix_epoch , add date_from_days_after_unix_epoch (#16363)
|
2022-11-13 14:30:14 +02:00 |
|
Hitalo Souza
|
7cfaacbe7a
|
doc: add more examples to vlib/time/README.md (#16362)
|
2022-11-13 13:48:07 +02:00 |
|
yuyi
|
992b502198
|
db, json, time, term: change optional to result (#16201)
|
2022-10-26 11:26:28 +03:00 |
|
yuyi
|
41dbd12bc4
|
tests: make error handling the same as the main function (#15825)
|
2022-09-21 19:45:43 +03:00 |
|
Delyan Angelov
|
0cc0e87051
|
time: use linux_utc() and linux_now() on freebsd too (more precise, and fixes time_test.v)
|
2022-09-01 09:54:20 +00:00 |
|
Haren S
|
bc06866b20
|
make: add clock_gettime on macOS < 10.12 (fix #6605) (#15611)
|
2022-08-31 11:03:25 +03:00 |
|
Delyan Angelov
|
c3568823ee
|
tests: make vlib/time/private_test.v more robust/tolerant to small fluctuations
|
2022-08-20 13:56:10 +03:00 |
|
Delyan Angelov
|
0e62344043
|
tests: make private_test.v more tolerant to small delays
|
2022-08-17 16:25:46 +03:00 |
|
Alexander Medvednikov
|
9099594a49
|
all: wrap up unsafe { nil } (p. 3)
|
2022-07-21 21:01:30 +03:00 |
|
Alexander Medvednikov
|
c90e8185ed
|
builder: search for .v files in /src/ if there are none
|
2022-07-03 08:41:26 +03:00 |
|
yuyi
|
de136f6baf
|
checker: improve pub struct check (fix #14446) (#14777)
|
2022-06-19 17:42:22 +03:00 |
|
Delyan Angelov
|
5328dabad1
|
time: simplify some very commonly used t.format methods
|
2022-05-22 21:09:49 +03:00 |
|
Delyan Angelov
|
a7afb2d1eb
|
time: remove import math dependency, by implementing a simpler version of mceil
|
2022-05-21 02:04:17 +03:00 |
|
David 'Epper' Marshall
|
c28051020a
|
time: fix calculate_date_from_offset (#14399)
|
2022-05-15 10:55:24 +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 |
|
David 'Epper' Marshall
|
91c1157810
|
time: relative update (#14240)
|
2022-05-01 10:47:05 +03:00 |
|
David 'Epper' Marshall
|
a2338dbb7c
|
docs: document more builtin functions/methods (#14229)
|
2022-04-30 12:31:23 +03:00 |
|
David 'Epper' Marshall
|
881d0c04f1
|
time: add custom formatter (#14202)
|
2022-04-29 15:57:08 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Larpon
|
11ccf06441
|
time: add missing doc string to parse.v (#13933)
|
2022-04-05 13:21:37 +03:00 |
|
Cameron Katri
|
d585fbea8a
|
time: implement Time.strftime(fmt string) as a wrapper for strftime(3) (#13898)
|
2022-04-02 18:33:37 +03:00 |
|
yuyi
|
6987f2c087
|
time: fix error for time.local() on windows (#13892)
|
2022-04-01 17:16:46 +03:00 |
|
Vincenzo Palazzo
|
02c80bd445
|
time: fix repetitive time.now().local().local().local() offsetting the time further and further (#13861)
|
2022-04-01 00:11:17 +03:00 |
|