mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
test: fix includeTime-related tests
This commit is contained in:
parent
c3033bd6e8
commit
05975e55f0
@ -141,7 +141,9 @@ mod tests {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
if type_option.include_time {
|
if type_option.include_time {
|
||||||
format!("{}{}", decoded_data.date, decoded_data.time)
|
format!("{} {}", decoded_data.date, decoded_data.time)
|
||||||
|
.trim_end()
|
||||||
|
.to_owned()
|
||||||
} else {
|
} else {
|
||||||
decoded_data.date
|
decoded_data.date
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user