mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: add .no_delimiter format option
This commit is contained in:
@ -150,6 +150,9 @@ mut res := match fmt_date {
|
|||||||
.space{
|
.space{
|
||||||
' '
|
' '
|
||||||
}
|
}
|
||||||
|
.no_delimiter{
|
||||||
|
''
|
||||||
|
}
|
||||||
})
|
})
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,7 @@ pub enum FormatDelimiter {
|
|||||||
hyphen
|
hyphen
|
||||||
slash
|
slash
|
||||||
space
|
space
|
||||||
|
no_delimiter
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: C.time_t. works in v2
|
// TODO: C.time_t. works in v2
|
||||||
|
Reference in New Issue
Block a user