Skip to content

Commit 05975e5

Browse files
committed
test: fix includeTime-related tests
1 parent c3033bd commit 05975e5

File tree

1 file changed

+3
-1
lines changed
  • frontend/rust-lib/flowy-grid/src/services/field/type_options/date_type_option

1 file changed

+3
-1
lines changed

frontend/rust-lib/flowy-grid/src/services/field/type_options/date_type_option/date_tests.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ mod tests {
141141
.unwrap();
142142

143143
if type_option.include_time {
144-
format!("{}{}", decoded_data.date, decoded_data.time)
144+
format!("{} {}", decoded_data.date, decoded_data.time)
145+
.trim_end()
146+
.to_owned()
145147
} else {
146148
decoded_data.date
147149
}

0 commit comments

Comments
 (0)