diff options
author | Bastien <bzg@gnu.org> | 2020-01-31 17:21:43 +0100 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2020-01-31 17:21:43 +0100 |
commit | 04bd110b2b3fbf0a5381723018d1525d69b48949 (patch) | |
tree | 9c42f1948cde6daa96232223db075083969ad602 | |
parent | 1d97b730d2dfd593db9bfc97485db3bdc268c229 (diff) | |
download | org-mode-04bd110b2b3fbf0a5381723018d1525d69b48949.tar.gz |
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.
-rw-r--r-- | lisp/org-agenda.el | 1 | ||||
-rw-r--r-- | lisp/ox-odt.el | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 2313bd3..d9189b5 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -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))) diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 59480cd..2c500e7 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -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")) |