diff --git a/uni_modules/uts-tests/utssdk/Date.uts b/uni_modules/uts-tests/utssdk/Date.uts index e055fc010e68da830e94976bda71c3a9dbf355a7..589b4225c36c3f7fe3dc3c53b6b07fd16967d0cf 100644 --- a/uni_modules/uts-tests/utssdk/Date.uts +++ b/uni_modules/uts-tests/utssdk/Date.uts @@ -27,13 +27,13 @@ export function testDate() : Result { let date1 = new Date('1992-02-02'); expect(date1.getTime()).toEqual(696988800000); + // #ifdef APP-ANDROID + let date2 = new Date('Sun Feb 03 1991 08:00:00 GMT+0800'); expect(date2.getTime()).toEqual(665539200000); let date3 = new Date('Sun Feb 03 1991'); expect(date3.getTime()).toEqual(665510400000); - - // #ifdef APP-ANDROID /** * iso 8601 相关 */