-
-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ISO 8601 date format for ledger export #393
Comments
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). merged |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). What is the best way to run the whole suite locally? |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). Thanks. I'll try it out next time. I’m using pylint already as it is integrated in vs code. Pytest I’m used to run manually. |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). Thanks for the tips! I’ve submitted a pull request with the test fixes last night. |
Original comment by Martin Blais (Bitbucket: blais, GitHub: blais). https://bitbucket.org/blais/beancount/commits/81b95c7ce8880949883a453634c17b165133cd79 Fixed |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). Thanks. At least now I know how to run the tests for the next time. |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). Oh, I see. It’s the Hledger tests that fail. I left those out intentionally as I’m not sure hledger supports ISO dates. 🙈 |
Original comment by Martin Blais (Bitbucket: blais, GitHub: blais). Good point. HLedger doesn’t support it yet I think: So this probably broke it. Not sure anyone cares - I have no idea if anyone’s using that conversion - but it would be a good idea to make it a class attribute of the renderer and dispatch it properly. |
Original comment by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY). Fortunately, I got that wrong. As per https://plaintextaccounting.org/quickref/, different date formats are supported. The issue was closed this January, so this may be a fairly recent development. |
Original report by Alen Šiljak (Bitbucket: Alen Siljak, GitHub: MisterY).
Since ledger supports ISO date format, perhaps changing the default date format to ISO would be convenient? Help push the standardization. :slight_smile:
Ash a workaround, is there a way to customize the date format for
bean-report ledger
output?The text was updated successfully, but these errors were encountered: