Skip to content

Commit ab1a951

Browse files
committed
ledger-report: Pass ledger-default-date-format to ledger command
Fix #289
1 parent 08b87f0 commit ab1a951

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ledger-report.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ called in the ledger buffer for which the report is being run."
446446

447447
(defun ledger-report--compute-extra-args (report-cmd)
448448
"Compute extra args to add to REPORT-CMD."
449-
`(,@(when (ledger-report--cmd-needs-links-p report-cmd)
449+
`("--date-format" ,ledger-default-date-format
450+
,@(when (ledger-report--cmd-needs-links-p report-cmd)
450451
'("--prepend-format=%(filename):%(beg_line):"))
451452
,@(when ledger-report-auto-width
452453
`("--columns" ,(format "%d" (window-max-chars-per-line))))

0 commit comments

Comments
 (0)