Fix Safari bug with unsupported ISO date