Skip to content

2.24.1

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Sep 08:05
603c519

QuickAdd 2.24.1

Two fixes for the date features that shipped in 2.24.0, both found while putting that release together.

"last thursday" means last Thursday

Typing last thursday into a QuickAdd date input resolved to the upcoming Thursday. That hit every place you can type a date: {{VDATE}} prompts, the Which day → Ask each time picker and the (pick a day) commands, date= on the CLI, and executeChoice(..., { date }).

The cause was the forward-date preference QuickAdd asks chrono-node for, which is what makes a bare friday mean the coming Friday. The same preference also overrode an explicit last. QuickAdd now decides per phrase: anything that names the past (last friday, previous monday, past thursday, friday last week, past march 5) parses backwards, and everything else keeps preferring the future. friday, next friday, march 5, yesterday, last week, and 3 days ago all behave exactly as before, and clock words like half past 3 do not count as "past".

On a Wednesday the 2nd, last friday now gives Friday the 28th, not Friday the 4th. (#1727)

The date field on the one-page form has room to breathe

On the one-page form, a date field sat beside its label in the right-hand column: the text box was too narrow for its own placeholder, the calendar was squeezed against the edge, and the parsed date appeared bottom-right under the calendar with the left half of the row empty. The row now stacks: label on top, full-width input, the parsed date right under it, then the calendar at the same width as the standalone date prompt. (#1726)


Full changelog: 2.24.0...2.24.1