Skip to content

Commit cf6f577

Browse files
committed
report-use-default-date-format
commit ab1a951 Author: Aaron L. Zeng <[email protected]> Date: Mon Mar 18 16:37:07 2024 -0400 ledger-report: Pass ledger-default-date-format to ledger command Fix ledger#289
1 parent 5a45b3f commit cf6f577

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
@@ -454,7 +454,8 @@ called in the ledger buffer for which the report is being run."
454454

455455
(defun ledger-report--compute-extra-args (report-cmd)
456456
"Compute extra args to add to REPORT-CMD."
457-
`(,@(when (ledger-report--cmd-needs-links-p report-cmd)
457+
`("--date-format" ,ledger-default-date-format
458+
,@(when (ledger-report--cmd-needs-links-p report-cmd)
458459
'("--prepend-format=%(filename):%(beg_line):"))
459460
,@(when ledger-report-auto-width
460461
`("--columns" ,(format "%d" (window-max-chars-per-line))))

0 commit comments

Comments
 (0)