From 0a9d724152a095ad1a2c98231d59b0d0b2a2cc4c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 29 Dec 2017 16:06:26 -0800 Subject: [PATCH] lib: clarify journalApplyValue comment --- hledger/Hledger/Cli/Utils.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hledger/Hledger/Cli/Utils.hs b/hledger/Hledger/Cli/Utils.hs index 9a272ad04..125bc4adb 100644 --- a/hledger/Hledger/Cli/Utils.hs +++ b/hledger/Hledger/Cli/Utils.hs @@ -106,8 +106,7 @@ anonymise j where anon = T.pack . flip showHex "" . (fromIntegral :: Int -> Word32) . hash --- XXX as of since 2017/4 this is used instead of --- balanceReportValue/multiBalanceReportValue (mostly; not yet hledger-ui) +-- TODO This early value conversion was introduced 2017/4 to replace the late balanceReportValue/multiBalanceReportValue conversion; but hledger-ui (eg) still uses the latter. -- | If -V/--value was requested, convert all journal amounts to their market value -- as of the report end date. Cf http://hledger.org/manual.html#market-value journalApplyValue :: ReportOpts -> Journal -> IO Journal