Skip to content

Conversation

Nacoma
Copy link

@Nacoma Nacoma commented Mar 6, 2022

Fixes #7979

@Nacoma Nacoma changed the title GH-7979: iterator advances when checking if valid Fix GH-7979: iterator advances when checking if valid Mar 6, 2022
@Nacoma Nacoma changed the title Fix GH-7979: iterator advances when checking if valid Fix GH-7979: DatePeriod iterator advances when checking if valid Mar 6, 2022
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! From a quick look, this fix looks reasonable.

@derickr, you may want to review.

@cmb69 cmb69 linked an issue Mar 30, 2022 that may be closed by this pull request
@derickr derickr self-assigned this Apr 14, 2022
derickr added a commit that referenced this pull request Apr 14, 2022
@derickr
Copy link
Member

derickr commented Apr 14, 2022

I've merged this after a little refactor to avoid duplicated code. Thanks for your patch!

@derickr derickr closed this Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePeriod::getIterator()->valid() advances DatePeriod iterator

3 participants