---
Created: <% tp.file.creation_date("YYYY-MM-DD ddd") %>
Updated: 
tags:
  - 周报
---
<%*
let week = moment(tp.file.title);

// # 2023 Week 1
// tR += '# ' + week.format('gggg [Week] w') + '';

// 2023 / Q1 / January
tR += '[[' + week.format('[Haina/Yearly/]YYYY|YYYY') + ']] / ';
tR += '[[' + week.format('[Haina/Quarterly/]YYYY-[Q]Q|[Q]Q') + ']] / ';
tR += '[[' + week.format('[Haina/Monthly/]YYYY-MM|MMMM') + ']]';
// If the week crosses a month
// 2022 / Q4 / December - 2023 / Q1 / January
if (week.format('M') != week.endOf('week').format('M')) {
    tR += ' - ';
    tR += '[[' + week.format('[Haina/Yearly/]YYYY|YYYY') + ']] / ';
    tR += '[[' + week.format('[Haina/Quarterly/]YYYY-[Q]Q|[Q]Q') + ']] / ';
    tR += '[[' + week.format('[Haina/Monthly/]YYYY-MM|MMMM') + ']]';
}
tR += ' / ';

// ❮ Week 52 | Week 1 | Week 2 ❯
tR += '❮ [[' + week.subtract(1, 'weeks').format('[Haina/Weekly/]gggg-[W]ww|[Week] w') + ']]';
tR += ' | ' + week.add(1, 'weeks').format('[Week] w') + ' | ';
tR += '[[' + week.add(1, 'weeks').format('[Haina/Weekly/]gggg-[W]ww|[Week] w') + ']] ❯';
week.subtract(1, 'weeks');
tR += ' / ';

// Monday - Tuesday - Wednesday - Thursday - Friday - Saturday - Sunday
for (let day = 0; day < 7; day++) {
    tR += '[[' + week.weekday(day).format('[Haina/Daily/]YYYY-MM-DD|DD ddd') + ']]';
    if (day < 6) {
        tR += ' - ';
    }
}
%>

---

*<%* tR += moment(tp.file.title).weekday(1).format('YYYY-MM-DD ddd') %>*

## 上周工作

### 重点工作

1. <% tp.file.cursor(1) %>

### 维护工作
1. 

## 本周计划
1. 
