Overrode the default date parse function