Accept date shortcuts in the Work day field
Adding work to a day you forgot to track meant typing its full date. The Work day field now also takes 09-14 (this year), today, yesterday, -3 (three days ago) and weekday names like mon or friday (the most recent one). The editor shows the date it understood next to the field. The parsing lives in time::format::parse_date, next to parse_time. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9257181a77
commit
fe5e2d9a7f
4 files changed
+81
-8
No files matched your search
@@ -60,6 +60,9 @@ settings, or with `<Space>w`.
|
||||
- Times you type (`22:30`, `2230`, `22h30`, `10:30pm`, `10p`) are read in
|
||||
both 12h and 24h styles. An end time before the start time means the next
|
||||
day.
|
||||
- To add work to a day you didn't track, press `o` and change the **Work
|
||||
day** field: `2026-09-14`, `09-14`, `yesterday`, `-3` (3 days ago) or a
|
||||
weekday like `mon` all work.
|
||||
- Times are recorded to the minute, so what you see always adds up.
|
||||
|
||||
## Your files
|
||||
|
||||
Reference in new issue
Block a user