diff --git a/Haina/Templates/W-log.md b/Haina/Templates/W-log.md index 930b590..73e4196 100644 --- a/Haina/Templates/W-log.md +++ b/Haina/Templates/W-log.md @@ -49,7 +49,7 @@ for (let day = 0; day < 2; day++) { --- -*<%* tR += moment(tp.file.title).weekday(1).format('YYYY-MM-DD ddd') %>* +*<%* tR += moment(tp.file.title).weekday(1).format('YYYY-MM-DD ddd') %>* ## 上周工作 @@ -74,7 +74,7 @@ for (let day = 0; day < 2; day++) { > not done > path includes Haina > path includes Weekly/2024 -> (path includes *<%* tR += moment(tp.file.title).weekday(1).format('ww') %>* ) OR (path includes *<%* tR += moment(tp.file.title).weekday(1).format('ww') %>* ) +> (path includes <% tR += moment(tp.file.title).weekday(1).subtract(2, 'weeks').format('ww') %> ) OR (path includes <% tR += moment(tp.file.title).weekday(1).subtract(1, 'weeks').format('ww') %> ) > (filter by function task.status.name === 'Todo') > sort by path reverse > sort by heading