Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

forecast generates transactions before -b start date, contrary to docs (visible in historical balance) #1665

Copy link
Copy link

Description

@Xitian9
Issue body actions

Forecast transactions are only supposed to be generated from the report start date if present, but they will actually be generated from the last journal transaction if present, and only displayed from the report start date. However, they can be revealed with a historical report.

2021-01-01
  (a)      1000

~ daily
  (a)       1
$ hledger -f span.j reg --forecast -H -b 2021-02 -e 2021-02-05
2021-02-01                      (a)                              1          1031
2021-02-02                      (a)                              1          1032
2021-02-03                      (a)                              1          1033
2021-02-04                      (a)                              1          1034

If this were only generating forecast transactions from 2021-02, we would expect the total balance at the first step to be 1001.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.journalThe journal file format, and its features.The journal file format, and its features.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.