bal/bs/bse/cf/is: show short monthnames in monthly reports (like html)

This commit is contained in:
Simon Michael 2018-03-28 18:17:20 +01:00
parent d403b003c1
commit 1347885cd8
2 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@ balanceReportAsTable opts (MultiBalanceReport (colspans, items, (coltotals,tot,a
(map rowvals items)
where
mkDate = case balancetype_ opts of
PeriodChange -> showDateSpan
PeriodChange -> showDateSpanMonthAbbrev
_ -> maybe "" (showDate . prevday) . spanEnd
colheadings = map mkDate colspans
++ (if row_total_ opts then [" Total"] else [])

View File

@ -294,7 +294,7 @@ compoundBalanceReportAsCsv ropts (title, colspans, subreports, (coltotals, grand
addtotals $
padRow title :
("Account" :
map showDateSpan colspans
map showDateSpanMonthAbbrev colspans
++ (if row_total_ ropts then ["Total"] else [])
++ (if average_ ropts then ["Average"] else [])
) :