diff options
author | Hsieh Chin Fan <typebrook@topo.tw> | 2022-12-18 08:34:08 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@topo.tw> | 2022-12-18 08:34:08 +0800 |
commit | bf7b8c69807b75edae662a6957754dd3a7e1ed6b (patch) | |
tree | f22acb50b279fa8df6ddc6742a7ff0d344d8c340 /tools/wiki/diary | |
parent | 51528824dfac301377974a556ccac90a025364a4 (diff) |
Update
Diffstat (limited to 'tools/wiki/diary')
-rwxr-xr-x | tools/wiki/diary | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wiki/diary b/tools/wiki/diary index ce7a5be..3995ecf 100755 --- a/tools/wiki/diary +++ b/tools/wiki/diary | |||
@@ -1,6 +1,6 @@ | |||
1 | #! /bin/bash | 1 | #! /bin/bash |
2 | 2 | ||
3 | today=~/log/diary/$(date --iso-8601).md | 3 | today=~/log/`date +%y.w%W.md` |
4 | 4 | ||
5 | specify_date() { | 5 | specify_date() { |
6 | YEAR=${YEAR:-22} | 6 | YEAR=${YEAR:-22} |