-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
"every Nth day" periodic rule violating start date #2218
Comments
This is caused by
Namely,
Note that
|
The fix, i think, would be to filter the output of
and reject first returned subspans if they are from before the start of |
Assuming that there is no need/desire to change the behavior of splitSpan, I pushed a simple fix to periodic transaction generator (that is described above) |
Thanks! I imagine the splitSpan behaviour was to support https://hledger.org/dev/hledger.html#date-adjustments . But that shifted a bit in the last year. Your fix may be all that's needed, I'll test a bit more as well. |
I've pushed #2221, which fixes the start date in these cases:
and brings new docs and tests: |
Fixed by #2221. |
Reported on the mail list by LucaBH. Here's a small repro:
The text was updated successfully, but these errors were encountered: