mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: fix parse_iso8601 on windows (#7853)
This commit is contained in:
@ -139,6 +139,5 @@ pub fn parse_iso8601(s string) ?Time {
|
||||
unix_time += u64(unix_offset)
|
||||
}
|
||||
t = unix2(int(unix_time), t.microsecond)
|
||||
// Convert the time to local time
|
||||
return t.local()
|
||||
return t
|
||||
}
|
||||
|
Reference in New Issue
Block a user