I am trying to create a weekly template based off the current calendar week, but I can’t seem to get the code correct to signal “current week”. I’d also like to configure the “start of” week and “end of” week.
Things I have tried
[[Journal/Weekly/<%moment(tp.file.title).format(“WW of YYYY”)%>
AND
<%moment(tp.file.title).startOf(‘isoWeek’).format(“WW of YYYY”)%> - <%moment(tp.file.title).endOf(‘isoWeek’).format(“WW of YYYY”)%>
This is my input into my Weekly Note Template…
[[Journal/Weekly/<%moment(tp.file.title).startOf(‘isoWeek’).format(“WW [of] YYYY”)%> - [[Journal/Weekly/<%moment(tp.file.title).endOf(‘isoWeek’).format(“WW [of] YYYY”)%>
Is that what you mean?
I am starting to suspect there may be a glitch in my calendar.