-
-
Notifications
You must be signed in to change notification settings - Fork 337
Description
First I like to wish clarification what date
in a query actually matches on.
Every posting in a transaction can have a different date. What date does a date
query actually match?
I assume that if any posting's date falls into a queried period then the transaction is selected.
If this is true, this is problematic since it means that in a multi-period balance some transactions are included in multiple periods.
For now, I observed the problem in hledger-web since a date
query combined with inacct
shows transactions with inacct-posting dates that do not match the date
period. I think I need a date query that only matches the date of certain accounts.
I guess the solution in my case is to better not use posting dates, at all. At least, the meaning of date
queries with respect to posting dates should be clarified in the query docs.