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

toml: add date and time checks (#12427)

This commit is contained in:
Larpon
2021-11-11 06:27:41 +01:00
committed by GitHub
parent 823a3ab838
commit 69fa87ad24
4 changed files with 125 additions and 10 deletions

View File

@ -112,6 +112,8 @@ fn test_parse_iso8601_invalid() {
'2020-06-05Z',
'2020-06-05+00:00',
'15:38:06',
'2020-06-32T15:38:06.015959',
'2020-13-13T15:38:06.015959',
]
for format in formats {
time.parse_iso8601(format) or {