mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 08:02:52 +00:00
Merge branch 'bugfix'
This commit is contained in:
commit
a6c882949e
|
@ -3482,7 +3482,9 @@ This ensures the export commands can easily use it."
|
||||||
(when (setq tmp (plist-get props 'day))
|
(when (setq tmp (plist-get props 'day))
|
||||||
(when (integerp tmp) (setq tmp (calendar-gregorian-from-absolute tmp)))
|
(when (integerp tmp) (setq tmp (calendar-gregorian-from-absolute tmp)))
|
||||||
(let ((calendar-date-display-form
|
(let ((calendar-date-display-form
|
||||||
'(year "-" (string-pad month 2 ?0 'left) "-" (string-pad day 2 ?0 'left))))
|
'((format "%s-%.2d-%.2d" year
|
||||||
|
(string-to-number month)
|
||||||
|
(string-to-number day)))))
|
||||||
(setq tmp (calendar-date-string tmp)))
|
(setq tmp (calendar-date-string tmp)))
|
||||||
(setq props (plist-put props 'day tmp))
|
(setq props (plist-put props 'day tmp))
|
||||||
(setq props (plist-put props 'agenda-day tmp)))
|
(setq props (plist-put props 'agenda-day tmp)))
|
||||||
|
|
Loading…
Reference in a new issue