We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb022c9 commit 04b8cf8Copy full SHA for 04b8cf8
src/agent/legacy_schedule.rs
@@ -387,7 +387,7 @@ mod tests {
387
let ok_datetimes = [
388
NaiveDate::from_ymd_opt(2023, 11, 20)
389
.unwrap()
390
- .and_time(MAX_TIME_INSTANT.clone())
+ .and_time(MAX_TIME_INSTANT)
391
.and_local_timezone(Tz::Europe__Amsterdam)
392
.unwrap(),
393
NaiveDateTime::parse_from_str("2023-11-21 00:00", format)?
@@ -404,7 +404,7 @@ mod tests {
404
// confused for Wednesday 00:00 which is open.
405
NaiveDate::from_ymd_opt(2023, 11, 21)
406
407
408
409
410
];
0 commit comments