chore: Merge main 521 (#2574)

* chore: merge main branch

* chore: remove document plugins

* chore: add color generator

* ci: tests
This commit is contained in:
Nathan.fooo
2023-05-21 15:08:50 +08:00
committed by GitHub
parent eaa1dcdeb9
commit 5cc8340e05
27 changed files with 416 additions and 240 deletions

View File

@ -159,7 +159,7 @@ mod tests {
date: Some("1653609600".to_owned()),
time: Some("9:00 AM".to_owned()),
include_time: Some(true),
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
None,
"May 27, 2022 09:00 AM",
@ -213,7 +213,7 @@ mod tests {
date: Some("1653609600".to_owned()),
time: Some("1:".to_owned()),
include_time: Some(true),
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
None,
"May 27, 2022 01:00",
@ -252,7 +252,7 @@ mod tests {
date: Some("1653609600".to_owned()),
time: Some("00:00".to_owned()),
include_time: Some(true),
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
None,
"May 27, 2022 00:00",
@ -273,7 +273,7 @@ mod tests {
date: Some("1653609600".to_owned()),
time: Some("1:00 am".to_owned()),
include_time: Some(true),
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
None,
"May 27, 2022 01:00 AM",
@ -372,7 +372,7 @@ mod tests {
date: Some("1700006400".to_owned()),
time: Some("08:00".to_owned()),
include_time: Some(true),
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
);
assert_date(
@ -382,7 +382,7 @@ mod tests {
date: None,
time: Some("14:00".to_owned()),
include_time: None,
timezone_id: None,
timezone_id: Some("Etc/UTC".to_owned()),
},
Some(old_cell_data),
"Nov 15, 2023 14:00",