Skip to content

change required_daily_prices date range to include one day ranges - #1013

Open
stenius wants to merge 1 commit into
beancount:masterfrom
stenius:fix-required-daily-prices-off-by-one
Open

stenius wants to merge 1 commit into
beancount:masterfrom
stenius:fix-required-daily-prices-off-by-one

Conversation

@stenius

@stenius stenius commented Jan 27, 2026

Copy link
Copy Markdown

fixes half of beancount/beanprice#134

if date_end is None:
date_end = date_last
while date < date_end:
while date <= date_end:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interval ends are exclusive, so this doesn't look correct. Rather, this seems like a bug in the calling code.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants