-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
multiple -f arguments fails if the files are of different format #320
Comments
|
oh, and of course should that be filed as a separate bug? |
|
No, this is explicitly disallowed by the docs. But, with luck one fix will resolve both. |
journal files can now include journal, timeclock or timedot files (but not yet CSV files). Also timeclock/timedot files no longer support default year directives. The Hledger.Read.* modules have been reorganised for better reuse. Hledger.Read.Utils has been renamed Hledger.Read.Common and holds low-level parsers & utilities; high-level read utilities have moved to Hledger.Read.
|
Partly fixed.. "The include directive can only be used in journal files. It can include journal, timeclock or timedot files, but not CSV files." Eventually, we should be able to include any supported format. I'll leave this open as a reminder. |
|
Ah shoot! I forgot the original |
When multiple files are specified with multiple -f options, we now parse each one individually, rather than just concatenating them, so they can have different formats. Directives (like default year or account aliases) no longer carry over from one file to the next. Limitation or feature ?
|
Multiple FILES specified on the command line are now parsed individually, so they can have different formats. Directives in one file no longer affect subsequent files. I think this is ok. |
|
As this has been closed 4 years ago i guess you could also update your https://github.com/anarcat/ledger-timetracking @anarcat |
Patches welcome, I do not use (h)ledger anymore... |
whaaaat? |
Not sure how to respond to that, which part do you not understand? :) |
while investigating timelog support in hledger and ledgercli, i stumbled upon this weird bug where some of the multiple
-farguments are ignored if they are in a different format.in other words, this prints time entries:
while this doesn't:
The sample files are in the https://github.com/anarcat/ledger-timetracking repo, which also demonstrates a compatibility problem when applying accounts before includes, which i believe was fixed in a2b989d.
The text was updated successfully, but these errors were encountered: