Make ISO time parsing more flexible

Years and months ISOs come from the Wikibase parser with the day portion set
to 00. This is not valid, but well-formatted, and we should be able to read it.