想实现#日记标签中获取当月/指定月的日记

table from_1 as "出发",to_1 as "目地"
from #日记 and !"模板"
where date 
sort date

目前没有什么思路,日记标题都是2022-01-15这种格式,因为我每个月都要打行程单,感觉很累,直接在日记里吗用from: to: 定义了行程,然后生成指定月份的行程