add leadfinder, add double pendulum
This commit is contained in:
@@ -27,6 +27,23 @@
|
||||
|
||||
# 2026-02-09
|
||||
|
||||
- [ ] Rechnung Gertrudenhof
|
||||
|
||||
Testobesto
|
||||
|
||||
|
||||
- [ ] Rechnung an lustige Leute
|
||||
|
||||
- [ ] Cornelius hauen
|
||||
|
||||
|
||||
- [ ] Rechnung STG
|
||||
- [ ] Test 2
|
||||
|
||||
- [ ] Test 3
|
||||
|
||||
# 2026-03-16
|
||||
|
||||
- [ ] Rechnung Gertrudenhof
|
||||
- [ ] Rechnung an lustige Leute
|
||||
- [ ] Cornelius hauen
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
[
|
||||
(
|
||||
name: "P5 rückmelden",
|
||||
pattern: MonthlyOpt(dom: 10, months: ["March"]),
|
||||
),
|
||||
(
|
||||
name: "Morello updaten",
|
||||
pattern: Weekly(dow: "Monday"),
|
||||
@@ -44,7 +40,7 @@
|
||||
pattern: MonthlyOpt(dom: 15, months: ["February", "March"]), // March for 2026, Feb for after
|
||||
),
|
||||
(
|
||||
name: "Jahresabschluss",
|
||||
name: "Jahresabschluss des Vorjahres",
|
||||
pattern: MonthlyOpt(dom: 15, months: ["March"]),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -67,7 +67,7 @@ fn update_notes(notes_path: &PathBuf, patterns_path: Option<PathBuf>) {
|
||||
let mut latest_date = NaiveDate::MIN;
|
||||
let mut lines_to_not_use: Vec<usize> = Vec::new();
|
||||
|
||||
// Find todo-type lines
|
||||
// Find todo-type lines from existing file
|
||||
let mut n_lines = 0;
|
||||
while let Ok(n) = notes_bufreader.read_line(&mut str_buf1) {
|
||||
if n == 0 {
|
||||
@@ -205,7 +205,7 @@ fn update_notes(notes_path: &PathBuf, patterns_path: Option<PathBuf>) {
|
||||
fn main() {
|
||||
let args = Args::parse();
|
||||
if args.patterns == None {
|
||||
dbg!("Warning: No patterns argument given. Will not generate any pattern-type todos");
|
||||
println!("Warning: No patterns argument given. Will not generate any pattern-type todos");
|
||||
}
|
||||
update_notes(&args.notes, args.patterns);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user