BUG: years-only in date_range uses current date (GH6961)
Merge pull request #8672 from rosnfeld/issue_6961

BUG: years-only in date_range uses current date (GH6961)