style(sched): 💄 format
This commit is contained in:
parent
da3dd37eed
commit
14d80d71de
@ -3,7 +3,6 @@ use chrono::Weekday;
|
|||||||
use {super::RecurrenceRuleSet, crate::sched::rules::Rule};
|
use {super::RecurrenceRuleSet, crate::sched::rules::Rule};
|
||||||
|
|
||||||
pub fn ruleset() -> RecurrenceRuleSet {
|
pub fn ruleset() -> RecurrenceRuleSet {
|
||||||
|
|
||||||
RecurrenceRuleSet::recurring()
|
RecurrenceRuleSet::recurring()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -51,14 +51,7 @@ fn at_hour_1_of_each_day() {
|
|||||||
assert_eq!(
|
assert_eq!(
|
||||||
next,
|
next,
|
||||||
Local
|
Local
|
||||||
.with_ymd_and_hms(
|
.with_ymd_and_hms(2024, initial_month, (initial_day + i + 1) as u32, 1, 0, 0)
|
||||||
2024,
|
|
||||||
initial_month,
|
|
||||||
(initial_day + i + 1) as u32,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
)
|
|
||||||
.unwrap()
|
.unwrap()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user