argument-string-comma-decimal-separator.js (576B)
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: Comma may be used as a decimal separator 8 features: [Temporal] 9 includes: [temporalHelpers.js] 10 ---*/ 11 12 TemporalHelpers.assertPlainDateTime( 13 Temporal.PlainDateTime.from("1976-11-18T15:23:30,12"), 14 1976, 11, "M11", 18, 15, 23, 30, 120, 0, 0, 15 "comma decimal separator" 16 ); 17 18 reportCompare(0, 0);