forked from mirrors/org-mode
Small fixes
* lisp/ox-odt.el (org-odt--format-timestamp): Fix timestamp display. * lisp/org-agenda.el (org-agenda-show-and-scroll-up): Remove useless code.
This commit is contained in:
parent
1d97b730d2
commit
04bd110b2b
|
@ -8982,7 +8982,6 @@ fold drawers."
|
|||
(narrow-to-region (org-entry-beginning-position)
|
||||
(org-entry-end-position))
|
||||
(org-show-all '(drawers))))
|
||||
(when arg )
|
||||
(setq org-agenda-show-window (selected-window)))
|
||||
(select-window win)))
|
||||
|
||||
|
|
|
@ -940,7 +940,7 @@ See `org-odt--build-date-styles' for implementation details."
|
|||
(has-time-p (or (not timestamp)
|
||||
(org-timestamp-has-time-p timestamp)))
|
||||
(iso-date (let ((format (if has-time-p "%Y-%m-%dT%H:%M:%S"
|
||||
"%Y-%m-%dT%H:%M:%S")))
|
||||
"%Y-%m-%d")))
|
||||
(funcall format-timestamp timestamp format end))))
|
||||
(if iso-date-p iso-date
|
||||
(let* ((style (if has-time-p "OrgDate2" "OrgDate1"))
|
||||
|
|
Loading…
Reference in a new issue