diff --git a/uni_modules/uts-tests/utssdk/Date.uts b/uni_modules/uts-tests/utssdk/Date.uts index 5df20cdbcd6d271a68676dcc01be80452bd25d69..5ee04d641a3527d2e48792a6794e3c5f317d85c6 100644 --- a/uni_modules/uts-tests/utssdk/Date.uts +++ b/uni_modules/uts-tests/utssdk/Date.uts @@ -66,7 +66,10 @@ export function testDate() : Result { // final millisecond (month boundary) expect(new Date(2016, 1, 29, 23, 59, 59, 999).getDate()).toEqual(29); // subsequent millisecond (month boundary) - expect(new Date(2016, 1, 29, 23, 59, 59, 1000).getDate()).toEqual(1); + expect(new Date(2016, 1, 29, 23, 59, 59, 1000).getDate()).toEqual(1); + + expect(Date.parse("2024-01-09 22:00:00")).toEqual(1704808800000); + }) test('getDay', () => { const birthday = new Date('August 19, 1975 23:15:30');