summaryrefslogtreecommitdiff
path: root/ledger-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'ledger-init.el')
-rw-r--r--ledger-init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/ledger-init.el b/ledger-init.el
index a7c412a..f5d4c3f 100644
--- a/ledger-init.el
+++ b/ledger-init.el
@@ -37,9 +37,12 @@
Adding the dotted pair (\"decimal-comma\" . t) will tell ledger
to treat commas as decimal separator.")
-(defvar ledger-default-date-format "%Y/%m/%d"
+(defcustom ledger-default-date-format "%Y/%m/%d"
"The date format that ledger uses throughout.
-Set this to `ledger-iso-date-format' if you prefer ISO 8601 dates.")
+Set this to the value of `ledger-iso-date-format' if you prefer
+ISO 8601 dates."
+ :type 'string
+ :group 'ledger)
(defconst ledger-iso-date-format "%Y-%m-%d"
"The format for ISO 8601 dates.")