branch: elpa/datetime commit 58b7ac95ad39db0426de5e6e96b32487773d090d Author: Paul Pogonyshev <pogonys...@gmail.com> Commit: Paul Pogonyshev <pogonys...@gmail.com>
Fix a typo in `datetime-matching-regexp's support of eras, leading to eras never being matched at all. --- datetime.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datetime.el b/datetime.el index b851c36cc5..6e9e8b898e 100644 --- a/datetime.el +++ b/datetime.el @@ -1575,7 +1575,7 @@ specified otherwise. (details (cdr part)) (regexp (pcase type (`era - (datetime-locale-field locale :era)) + (datetime-locale-field locale :eras)) ((or `year `year-for-week) (cond ((and (plist-get options :only-4-digit-years) (eq details 4)) (rx (= 4 (any "0-9"))))