Fix diary not displaying some entries in european style

* lisp/calendar/calendar.el (diary-european-date-forms): Correctly
recognize times using a dot as separator.  (Bug#53702)
This commit is contained in:
Michael Heerdegen 2022-02-02 01:08:43 +01:00 committed by Stefan Kangas
parent dfce17103c
commit 8b0043ffd6

View file

@ -813,8 +813,8 @@ but `diary-date-forms' (which see)."
(defcustom diary-european-date-forms
'((day "/" month "[^/0-9]")
(day "/" month "/" year "[^0-9]")
(backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)")
(day " *" monthname " *" year "[^0-9:aApP]")
(backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:.aApP]\\)\\)")
(day " *" monthname " *" year "[^0-9:.aApP]")
(dayname "\\W"))
"List of pseudo-patterns describing the European style of dates.
The defaults are: DAY/MONTH; DAY/MONTH/YEAR; DAY MONTHNAME;
@ -829,7 +829,8 @@ DAY MONTHNAME YEAR; DAYNAME. Normally you should not customize this, but
(repeat (list :inline t :format "%v"
(symbol :tag "Keyword")
(choice symbol regexp)))))
:group 'diary)
:group 'diary
:version "31.1")
(defvar diary-font-lock-keywords)