org-agenda: Fix entries with timestamps without day name

* lisp/org-agenda.el (org-agenda-get-timestamps):
(org-agenda-get-progress): When matching specific date in timestamp,
do not demand that timestamp to contain day name.

Reported-by: Stephen J. Eglen <sje30@cam.ac.uk>
Link: https://orgmode.org/list/874jejrij6.fsf@localhost
This commit is contained in:
Ihor Radchenko 2024-02-08 16:01:29 +01:00
parent f016545aa1
commit 62956196d0
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 2 deletions

View File

@ -5828,7 +5828,7 @@ displayed in agenda view."
(if org-agenda-include-inactive-timestamps "[[<]" "<")
(regexp-quote
(format-time-string
(org-time-stamp-format nil 'no-brackets)
"%Y-%m-%d" ; We do not use `org-time-stamp-format' to not demand day name in timestamps.
(org-encode-time ; DATE bound by calendar
0 0 0 (nth 1 date) (car date) (nth 2 date))))
"\\|\\(<[0-9]+-[0-9]+-[0-9]+[^>\n]+?\\+[0-9]+[hdwmy]>\\)"
@ -6110,7 +6110,7 @@ then those holidays will be skipped."
" *\\["
(regexp-quote
(format-time-string
(org-time-stamp-format nil 'no-brackets)
"%Y-%m-%d" ; We do not use `org-time-stamp-format' to not demand day name in timestamps.
(org-encode-time ; DATE bound by calendar
0 0 0 (nth 1 date) (car date) (nth 2 date))))))
(org-agenda-search-headline-for-time nil)