<%* moment.locale("en") const thisDay = window.moment(new Date(tp.file.title)); const lastYearDay = thisDay.clone().subtract(1, 'years'); const thisWeek = thisDay.format("YYYY-[W]ww"); const thisMonth = thisDay.format("YYYY-MM-[M]"); const thisDayLong = thisDay.format("dddd Do MMMM YYYY"); const thisYear = thisDay.format("YYYY-[Y]"); -%>
date: <% tp.date.now("YYYY-MM-DD") %> createdAt: <% tp.file.creation_date() %> weekly: <% thisWeek %> monthly:
- <% thisMonth %> yearly: <% thisYear %> dateShort: <% thisDay.format("dddd Do MMMM") %> aliases:
- <% thisDayLong %>
DailySummary::
Table without id ("[["+file.name+"|"+durationformat(this.journal-start-date - journal-start-date,"y")+" years ago"+"]]") as "Daily Summaries", DailySummary as " "
WHERE journal-start-date.month = this.journal-start-date.month AND journal-start-date.day = this.journal-start-date.day AND journal = "personal" AND journal-start-date.year != this.journal-start-date.year
SORT file.name ASC