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

As mentioned in #6961 this was probably fixed by #7907 but just adding an explicit test and release note.
(in a sense, it should really be the 0.15.0 release note, but that release has shipped...)