argument-string-timezone.js (587B)
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally 2 // Copyright (C) 2022 Igalia, S.L. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-temporal.plaindatetime.from 7 description: Timezone, if specified, is ignored 8 features: [Temporal] 9 includes: [temporalHelpers.js] 10 ---*/ 11 12 TemporalHelpers.assertPlainDateTime( 13 Temporal.PlainDateTime.from("2020-01-01T01:23:45[Asia/Kolkata]"), 14 2020, 1, "M01", 1, 1, 23, 45, 0, 0, 0, 15 "ignores if a timezone is specified" 16 ); 17 18 reportCompare(0, 0);