fix parseSqlDate