Fix regression with extractDate.

Now considers year+month only values.