From 1344ee9ed09a04f7ef2721cdbd4188d469427f54 Mon Sep 17 00:00:00 2001 From: Florian Dufour Date: Mon, 17 Jun 2024 22:05:45 +0200 Subject: [PATCH] Fix: (org-ql-regexp-part-ts-data) Accept day of week ending with '.' In French, days of week are ending with a dot. Before this commit, timestamps in this language (like `<2024-05-30 jeu.>`) where just ignored by `org-ql`. Fixes #432 --- org-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-ql.el b/org-ql.el index 02d51dc..3af980e 100644 --- a/org-ql.el +++ b/org-ql.el @@ -157,7 +157,7 @@ This list should not contain any duplicates.")) (defvar org-ql-regexp-part-ts-date (rx (repeat 4 digit) "-" (repeat 2 digit) "-" (repeat 2 digit) ;; Day of week - (optional " " (1+ alpha))) + (optional " " (1+ alpha) (optional "."))) "Matches the inner, date part of an Org timestamp, both active and inactive. Also matches optional day-of-week. Used to build other timestamp regexps.")