new notes
This commit is contained in:
@@ -170,7 +170,6 @@ fn update_notes(notes_path: &PathBuf, patterns_path: Option<PathBuf>) {
|
||||
Pattern::Weekly { dow } => {
|
||||
let mut date_idx = latest_date.clone() + Duration::days(1);
|
||||
while date_idx <= today {
|
||||
dbg!(date_idx);
|
||||
if date_idx.weekday() == dow {
|
||||
writeln!(str_buf1, "- [ ] {}", &p.name)
|
||||
.unwrap_or_else(|e| panic!("{e}"));
|
||||
|
||||
Reference in New Issue
Block a user