Text Actions Cheat Sheet

Thanks for explaining

1 Like

I’m still having trouble getting the date stuff right.

Today is Sun 24 March:

  • When I do ‘\date(day: last wed)’ I get Wednesday 13th March, rather than Wednesday 20th March (the last wed) as I would expect. Is there a way to ask for the last Wed?

  • When I do ‘\date(offset: 3 weeks)’ get today’s date. However, ‘date(in: 3 weeks)’ works.

Thanks

  • When I do ‘\date(day: last wed)’ I get Wednesday 13th March, rather than Wednesday 20th March (the last wed) as I would expect. Is there a way to ask for the last Wed?

This parsing is done by Apple’s frameworks, not sure why it would pick last week’s Wednesday but that’s probably how it’s interpreted, natural language based dates are messy alas.

  • When I do ‘\date(offset: 3 weeks)’ get today’s date. However, ‘date(in: 3 weeks)’ works.

We’ll check why the offset one doesn’t work, it might be an error in the documentation as I recall it takes a positive or negative integer for the number of days after or before today, respectively.

1 Like

Ahh, ok. I’ve been a Fantastical user for years because of their amazing natural day parsing, so was surprised to find ‘last wed’ not working.

Hopefully something Apple improves in the future.