improved date parsing for three digits