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

time: rename to_local_time() to local(); time.offset()

This commit is contained in:
Alexander Medvednikov
2020-12-26 02:10:47 +01:00
parent 7507403118
commit 13f16b4a82
5 changed files with 14 additions and 5 deletions

View File

@@ -140,5 +140,5 @@ pub fn parse_iso8601(s string) ?Time {
}
t = unix2(int(unix_time), t.microsecond)
// Convert the time to local time
return t.to_local_time()
return t.local()
}