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

js: time module: implement utc,now,local (#11138)

This commit is contained in:
playX
2021-08-11 09:22:53 +03:00
committed by GitHub
parent 012b3f0f64
commit 70124d2d23
5 changed files with 103 additions and 2 deletions

View File

@@ -119,3 +119,7 @@ fn convert_ctime(t C.tm, microsecond int) Time {
unix: make_unix_time(t)
}
}
pub const (
infinite = Duration(C.INT64_MAX)
)