add: trim whitespace in auto-created journal
This commit is contained in:
parent
6f0f1acf7e
commit
14881d0515
@ -121,7 +121,7 @@ ensureJournalFile f = do
|
|||||||
newJournalContent :: IO String
|
newJournalContent :: IO String
|
||||||
newJournalContent = do
|
newJournalContent = do
|
||||||
d <- getCurrentDay
|
d <- getCurrentDay
|
||||||
return $ printf "; journal created %s by hledger\n\n" (show d)
|
return $ printf "; journal created %s by hledger\n" (show d)
|
||||||
|
|
||||||
-- | Read a Journal from this string, using the specified data format or
|
-- | Read a Journal from this string, using the specified data format or
|
||||||
-- trying all known formats, or give an error string.
|
-- trying all known formats, or give an error string.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user