time: fix empty unix
parent
5c42a31b9b
commit
7a3b5c20dd
|
@ -64,8 +64,8 @@ pub fn convert_ctime(t tm) Time {
|
|||
hour: t.tm_hour
|
||||
minute: t.tm_min
|
||||
second: t.tm_sec
|
||||
uni: C.mktime(&t)
|
||||
}
|
||||
// uni = uni;
|
||||
}
|
||||
|
||||
pub fn (t Time) format_ss() string {
|
||||
|
|
Loading…
Reference in New Issue