vault backup: 2025-05-12 16:35:43

This commit is contained in:
2025-05-12 16:35:43 +08:00
parent 935dffca33
commit 4affca9bf1
2 changed files with 10 additions and 10 deletions

View File

@@ -11,8 +11,8 @@ created: 2023-07-03 12:17:55
>[!attention] 未名之约
>```dataviewjs
>const targetDate_1 = '2025-01-29'
>const prefix_1 = '距离 2025 年春节还有 '
>const targetDate_1 = '2025-06-30'
>const prefix_1 = '距离上半年结束还有 '
>const suffix_1 = ' 天'
>const days_1 = Math.ceil((new Date(targetDate_1.replace(/-/g, '/'))-Date.now())/864e5)
>dv.span(prefix_1+'**'+days_1+'**'+suffix_1)