alphagov/spotlight — pull request #467 by easternbloc (2014-05-08 15:26:24+00:00)
Title: Date range for kpi covers a year not 13 months.

For example, if the data is:

"_timestamp": "2013-01-01T00:00:00+00:00"
"end_at": "2014-01-01T00:00:00+00:00"

it should render:

Jan 2013 to Dec 2013

not

Jan 2013 to Jan 2014

Updated tests to cover this.

Covers: https://www.pivotaltracker.com/n/projects/911874/stories/70925674