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