Skip to content

Commit

Permalink
Change "showEndDates" formatting to yyyy-mm-dd in CompoundBalanceCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
bwignall authored and simonmichael committed Jan 7, 2020
1 parent e12b0a4 commit 24026d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hledger/Hledger/Cli/CompoundBalanceCommand.hs
Expand Up @@ -18,7 +18,6 @@ import Data.Maybe
import qualified Data.Text as TS
import qualified Data.Text.Lazy as TL
import Data.Time.Calendar
import Data.Time.Format
import System.Console.CmdArgs.Explicit as C
import Hledger.Read.CsvReader (CSV, printCSV)
import Lucid as L hiding (value_)
Expand Down Expand Up @@ -250,7 +249,7 @@ showEndDates es = case es of
[e] -> showdate e
[] -> ""
where
showdate = formatTime defaultTimeLocale "%0C%y/%m/%d"
showdate = show

-- | Run one subreport for a compound balance command in multi-column mode.
-- This returns a MultiBalanceReport.
Expand Down

0 comments on commit 24026d6

Please sign in to comment.