diff --git a/uni_modules/uts-tests/utssdk/Date.uts b/uni_modules/uts-tests/utssdk/Date.uts index a31ab829b507d6659440cc35ff56b80493552873..9479963b4282372f2adb77fdb1e68ae6a2f5ef2e 100644 --- a/uni_modules/uts-tests/utssdk/Date.uts +++ b/uni_modules/uts-tests/utssdk/Date.uts @@ -100,7 +100,10 @@ export function testDate() : Result { // subsequent millisecond (month boundary) expect(new Date(2016, 1, 29, 23, 59, 59, 1000).getDate()).toEqual(1); + // #ifndef WEB + // safari 15不支持此格式的日期字符串 expect(Date.parse("2024-01-09 22:00:00")).toEqual(1704808800000); + // #endif }) test('getDay', () => {