Closed ghost closed 4 years ago
Since I don't hope for new PRs to be merged (@iridakos feel free to prove me wrong), I'll just give you what I think should fix it:
change https://github.com/iridakos/stup/blob/187c8409ea10785bceb3ec87b38558abaea71755/stup#L1165 to
FROM_AT=$(date -d "$(($(date +%u) - 1)) days ago" +"%Y-%m-%d")
Please let me know if it works as you want, when I get time&mood I'll re-check all such things & PR them (even if it won't be merged)
@EnergoKoder Thank you for reporting this issue! @tiosgz Thank you for the workaround! And sorry for the delay merging this PR, I had forgotten it!
@iridakos Okay then, time to start working on the rest!
I've switched my notes system several times since then, but I think I'll enjoy stup
once again. Btw., have you realised it's puts
backwards? :-D
@tiosgz
@iridakos Okay then, time to start working on the rest!
Yay! I will put some work on it as well, starting from a new configuration option that will allow users to set the list icon (currently set to a bullet).
Btw., have you realised it's puts backwards? :-D
No I hadn't! :laughing:
Please let me know if it works as you want, when I get time&mood I'll re-check all such things & PR them (even if it won't be merged)
Works perfect! Thank you for rapid resurrection!
I type commands like this:
And the output is like this:
Explanation: Today is 2020-11-09. But
stup week
shows notes from 2020-11-02 to 2020-11-08. It is had to say if this is first week or previous week (but definitlely both). For seek of completnes I quote help:week Alias to list the notes of current week