Open Pinjasaur opened 3 years ago
date
supports --date
which would allow for yesterday
or tomorrow
trivially. Unfortunately, it's only only available via GNU date
.
https://www.cyberciti.biz/tips/linux-unix-get-yesterdays-tomorrows-date.html
A workaround would be refactoring this to use nix-shell
in the shebang to e.g. reproducibly use GNU date
.
Found out about the much more feature complete project of the same name 🙄 https://jrnl.sh/en/stable/
I like how the "today", "tomorrow", "yesterday" is handled. This could be useful for task management because I typically think of "what happened yesterday, what did I to today, and what can I do tomorrow?"
Perhaps more of a reach would be supporting a
--edit/-e
for the aforementioned keywords along with aYYYY/MM/DD
.