Skip to content

1.19: balance --date2 is not respecting date: #1745

Description

@simonmichael

From a report by heyarne in chat:

$ cat a.j
2020-12-31
  (a)    1

$ hledger-1.23 -f a.j bal date:2021   # date: correctly excludes the 2020 posting
--------------------
                   0  
$ hledger-1.23 -f a.j bal date:2021 --date2  # but  not with --date2
                   1  a
--------------------
                   1  
$ hledger-1.19 -f a.j bal date:2021 --date2
                   1  a
--------------------
                   1
$ hledger-1.18 -f a.j bal date:2021 --date2   # it last worked in 1.18
--------------------
                   0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.balancebountyThar's some kind o' loot on offer..queriesFiltering options, query arguments..regressionA backwards step, indicating a weakness in our QA. We don't like these.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions