mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
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 = do
|
||||
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
|
||||
-- trying all known formats, or give an error string.
|
||||
|
Loading…
Reference in New Issue
Block a user