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:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user