diff options
author | Craig Earls <enderw88@gmail.com> | 2016-05-04 18:43:57 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2016-05-04 18:43:57 -0700 |
commit | fcf16d035e9d61ed903499d0e72985970aec9170 (patch) | |
tree | 439c984c0f667bbb5d73bf5df8a8541e41d3a968 /lisp/ledger-init.el | |
parent | b08c03f05e2cfe7c4071a51075e83221edb24c33 (diff) | |
parent | 4eda0d84191dc045cde8261616edad3d15b84a02 (diff) | |
download | fork-ledger-fcf16d035e9d61ed903499d0e72985970aec9170.tar.gz fork-ledger-fcf16d035e9d61ed903499d0e72985970aec9170.tar.bz2 fork-ledger-fcf16d035e9d61ed903499d0e72985970aec9170.zip |
Merge pull request #454 from rudolfochrist/read-iso-date-fix
Consider ISO dates in `ledger-read-date'.
Diffstat (limited to 'lisp/ledger-init.el')
-rw-r--r-- | lisp/ledger-init.el | 2 |
1 files changed, 2 insertions, 0 deletions
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 |