mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
* lisp/calc/calc-forms.el (calc-date-notation): Fix typo.
This commit is contained in:
parent
ff3f6c266a
commit
8c21bef6d1
@ -82,7 +82,7 @@
|
||||
(calc-wrapper
|
||||
(if (string-match-p "\\`\\s-*\\'" fmt)
|
||||
(setq fmt "1"))
|
||||
(if (string-match "\\` \\(*[0-9]\\|10\\|11\\) *\\'" fmt)
|
||||
(if (string-match "\\` *\\([0-9]\\|10\\|11\\) *\\'" fmt)
|
||||
(setq fmt (nth (string-to-number fmt) calc-standard-date-formats)))
|
||||
(or (string-match "[a-zA-Z]" fmt)
|
||||
(error "Bad date format specifier"))
|
||||
|
Loading…
Reference in New Issue
Block a user