obsidian-resources
obsidian-resources copied to clipboard
Conditional flows inconsistency?
**ONE 1-2+ Hours Task:**
- [ ] <%tp.file.cursor(1)%>
<%* if (tp.date.now("ddd") == "Sun") { %>
- [ ] Make Weekly Note
<%* } %>
<%* if (tp.date.now("D") == 1) { %>
- [ ] Make Monthly Note
<%* } %>
<%* if (tp.date.now("M-D") == "1-1") { %>
- [ ] Make Yearly Note
<%* } %>
Why is the weekly review at the end of the week but for the rest it's at the beginning?
You could also either do this
<%* if (tp.date.now("ddd") == "Mon") { %>
or
<%* if (tp.date.now("D", 1) == 1) { %>
- [ ] Make Monthly Note
<%* } %>
<%* if (tp.date.now("M-D", 1) == "1-1") { %>
- [ ] Make Yearly Note
<%* } %>