From 4eda0d84191dc045cde8261616edad3d15b84a02 Mon Sep 17 00:00:00 2001 From: Sebastian Christ Date: Wed, 4 May 2016 16:52:26 +0200 Subject: Consider ISO dates in `ledger-read-date'. When `ledger-use-iso-dates' is non-nil use ISO date format instead of `ledger-default-date-format'. --- lisp/ledger-init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/ledger-init.el') diff --git a/lisp/ledger-init.el b/lisp/ledger-init.el index 0141d2e7..b95c71eb 100644 --- a/lisp/ledger-init.el +++ b/lisp/ledger-init.el @@ -34,6 +34,8 @@ (defvar ledger-default-date-format "%Y/%m/%d") +(defvar ledger-iso-date-format "%Y-%m-%d") + (defun ledger-init-parse-initialization (buffer) "Parse the .ledgerrc file in BUFFER." (with-current-buffer buffer -- cgit v1.2.3