mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(diary-islamic-date): Use `date'.
This commit is contained in:
parent
7801463cd5
commit
5cb9391022
@ -164,7 +164,7 @@ Driven by the variable `calendar-date-display-form'."
|
||||
|
||||
(defun diary-islamic-date ()
|
||||
"Islamic calendar equivalent of date diary entry."
|
||||
(let ((i (calendar-islamic-date-string (calendar-cursor-to-date t))))
|
||||
(let ((i (calendar-islamic-date-string date)))
|
||||
(if (string-equal i "")
|
||||
"Date is pre-Islamic"
|
||||
(format "Islamic date (until sunset): %s" i))))
|
||||
|
Loading…
Reference in New Issue
Block a user