Skip to content

Commit

Permalink
fix: monthly template
Browse files Browse the repository at this point in the history
  • Loading branch information
linyibing committed Feb 6, 2024
1 parent 3001e21 commit fd03c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 0. PeriodicNotes/Templates/Monthly.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ ProjectListByTime

## Role Dimension
### Employee
<%* let monthNum = Number(tp.file.title.match(/-(\d\d)/)[1]); if (monthNum%2 === 0) { -%>
<%* let current = PeriodicPARA.Date.parse(app.workspace.getActiveFile().path); if (current.month%2 === 0) { -%>
- #work/one-one
- [ ] Fill in bimonthly #work/trivia 📅 <% PeriodicPARA.Date.lastDay(PeriodicPARA.Date.parse()).month %>
- [ ] Fill in bimonthly #work/trivia 📅 <% PeriodicPARA.Date.lastDay(current).month %>
<%* } -%>
- OKR
### Husband
Expand Down

0 comments on commit fd03c70

Please sign in to comment.