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:
parent
f016545aa1
commit
62956196d0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue