Files
beets/docs
TowyTowy 4a1e9164a1 Fix uncaught KeyError on date queries containing a stray pipe
The relative-date regex used character classes [+|-] and [y|m|w|d],
which mistakenly treat | as a literal member rather than alternation.
As a result a value like added:2000|2001 (as a user might type expecting
| to mean "or") captured | as the relative-date unit and crashed with
an uncaught KeyError in Period.parse instead of raising the documented
InvalidQueryArgumentValueError.

Remove the stray | from both character classes so malformed date strings
fall through to the normal invalid-date error path.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-15 21:55:46 +02:00
..
2026-06-30 12:44:21 +01:00
2026-05-20 16:53:06 +02:00
2026-07-15 16:12:21 +02:00
2026-06-22 14:38:50 +00:00
2026-06-30 12:44:21 +01:00