summaryrefslogtreecommitdiff
path: root/lisp/ledger-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ledger-mode.el')
-rw-r--r--lisp/ledger-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el
index 7e30c350..e77a2b61 100644
--- a/lisp/ledger-mode.el
+++ b/lisp/ledger-mode.el
@@ -115,7 +115,9 @@
(string= "" date))
(format-time-string
(or (cdr (assoc "date-format" ledger-environment-alist))
- ledger-default-date-format))
+ (if ledger-use-iso-dates
+ ledger-iso-date-format
+ ledger-default-date-format)))
date)))
(defun ledger-read-string-with-default (prompt default)