bal/bs/bse/cf/is: show short monthnames in monthly reports (like html)
This commit is contained in:
		
							parent
							
								
									d403b003c1
								
							
						
					
					
						commit
						1347885cd8
					
				| @ -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 []) | ||||
|  | ||||
| @ -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 []) | ||||
|    ) : | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user