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

toml: comply with BurntSushi @eb989e5 (#12616)

This commit is contained in:
Larpon
2021-11-29 21:15:22 +01:00
committed by GitHub
parent 83260e5074
commit 14424100e8
5 changed files with 47 additions and 11 deletions

View File

@@ -252,7 +252,7 @@ fn (d Decoder) decode_date_time(mut dt ast.DateTime) ? {
if ms.len > 1 {
return
}
ms = ms + '0'.repeat(6 - ms.len) + z
ms = ms + '0'.repeat(4 - ms.len) + z
dt.text = yymmddhhmmss + '.' + ms + offset
}
}