Conversation
|
Re c17dc53: Not sure if this is the right place to put this or if it should be in a separate PR, especially since this modifies one of the same files. Current recent transactions are ordered backwards if done on the same day, this commit should fix that. Completely untested, will need to run this one for a few days to see. |
|
Hello! Is it planned to merge this PR? For now, this is the only reason why I can't use the plugin with an existing transaction database. |
|
I have not used this plugin for years and unfortunately do not have capacity to maintain it at the moment. |
|
If you can use the terminal and npm, you can install my fork/branch directly. The Obsidian documentation has more info on compiling plugins. I've been using this daily since the PR and have not encountered any issues so far. Do note that even with this PR, your existing database may still not work as things aren't parsed 1 to 1. An example is the limited currency support that only allows several specific one-character non-alphanumeric symbols. This means transactions involving "3 apples" as outlined in the ledger-cli docs don't work here. Neither will currency codes like "USD", "EUR", or "VND", which you may have given that you imply your existing database already has different currencies in it. I've tried to fix that issue myself but hit a wall with the parser and have not had time to come back to it. |
Pull Request Description
This PR adds slightly more robust methods for dealing with/parsing multiple currencies.
Main changes:
fillMissingAmountmethod now correctly balances multiple currencies.Known Issues