mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: fix empty unix
This commit is contained in:
parent
5c42a31b9b
commit
7a3b5c20dd
@ -64,8 +64,8 @@ pub fn convert_ctime(t tm) Time {
|
|||||||
hour: t.tm_hour
|
hour: t.tm_hour
|
||||||
minute: t.tm_min
|
minute: t.tm_min
|
||||||
second: t.tm_sec
|
second: t.tm_sec
|
||||||
|
uni: C.mktime(&t)
|
||||||
}
|
}
|
||||||
// uni = uni;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (t Time) format_ss() string {
|
pub fn (t Time) format_ss() string {
|
||||||
|
Loading…
Reference in New Issue
Block a user