time: add .no_delimiter format option

pull/4793/head
pancake 2020-05-08 20:23:26 +02:00 committed by GitHub
parent 910a8934cb
commit b5bf0eeac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,9 @@ mut res := match fmt_date {
.space{
' '
}
.no_delimiter{
''
}
})
return res
}

View File

@ -73,6 +73,7 @@ pub enum FormatDelimiter {
hyphen
slash
space
no_delimiter
}
// TODO: C.time_t. works in v2