Fix date parsing

Short year format specification works in both cases. Long year didn't.