fix: few UI/usability issues with the time input field

This commit is contained in:
Richard Shiue
2022-09-17 23:09:14 +08:00
parent a413746c05
commit c3033bd6e8
3 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,7 @@ impl DateTypeOptionPB {
let mut time = "".to_string();
if has_time && self.include_time {
let fmt = format!("{} {}", self.date_format.format_str(), self.time_format.format_str());
let fmt = format!("{}{}", self.date_format.format_str(), self.time_format.format_str());
time = format!("{}", utc.format_with_items(StrftimeItems::new(&fmt))).replace(&date, "");
}