Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

import csv

6 views
Skip to first unread message

Alexandre Rademaker

unread,
Mar 4, 2025, 5:16:36 PMMar 4
to hle...@googlegroups.com

The dates in the csv are in the format DD/MM/YYY. So far, fine, I can use the date-format. But my journal files use YYYY/MM/DD. How to say how the dates need to be imported to be combined in the final journal file?

Best,
Alexandre

Simon Michael

unread,
Mar 4, 2025, 5:19:53 PMMar 4
to hle...@googlegroups.com
Though hledger can read YYYY/MM/DD in journal files, I believe import or print will always generate YYYY-MM-DD ISO dates, which is the preferred standard format in hledger. So you would have to rewrite those with sed or similar if you want that.
> --
> You received this message because you are subscribed to the Google
> Groups "hledger" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hledger+u...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/hledger/09064CE0-FD6E-4479-BB83-A2B392B8275F%40gmail.com.

Alexandre Rademaker

unread,
Mar 4, 2025, 6:22:36 PMMar 4
to hle...@googlegroups.com

Thanks.
Reply all
Reply to author
Forward
0 new messages