made date parsing more resilient

we now recognize dates in the form 2005-12 and
2005