bookkeeping-jp 0.1.1.2 → 0.1.1.3
raw patch · 2 files changed
+7/−7 lines, 2 filesdep ~bookkeepingdep ~mono-traversabledep ~text
Dependency ranges changed: bookkeeping, mono-traversable, text, time
Files
bookkeeping-jp.cabal view
@@ -1,5 +1,5 @@ name: bookkeeping-jp-version: 0.1.1.2+version: 0.1.1.3 synopsis: Helper functions for Japanese bookkeeping. description: Helper functions of [bookkeeping module](https://github.com/arowM/haskell-bookkeeping#readme) for Japanese bookkeeping.@@ -19,10 +19,10 @@ exposed-modules: Business.Bookkeeping.JP.SelfEmployed , Business.Bookkeeping.JP.Csv build-depends: base >= 4.9 && < 5- , bookkeeping >= 0.3.2 && < 0.4- , mono-traversable- , text- , time+ , bookkeeping >= 0.4 && < 0.5+ , mono-traversable >= 1.0.0.1 && < 1.1+ , text >= 1.2.2.1 && < 1.3+ , time >= 1.6 default-language: Haskell2010 default-extensions: OverloadedStrings , RecordWildCards
src/Business/Bookkeeping/JP/Csv.hs view
@@ -29,8 +29,8 @@ fromTransactions = unlines . (transactionHeader:) . fmap transactionBody . zip [1..] . runTransactions -transactionBody :: (Int, Transaction) -> Text-transactionBody (n, Transaction {..}) =+transactionBody :: (Int, Journal) -> Text+transactionBody (n, Journal {..}) = intercalate "," [ tshow n , tshow $ formatTime defaultTimeLocale "%Y/%m/%d" tDay