Intent to Implement: Add millisecondDigits option to Intl.DateTimeFormat

2 views
Skip to first unread message

Frank Tang

unread,
May 24, 2019, 2:34:20 PM5/24/19
to v8-...@googlegroups.com, blink-dev, Adam Klein, Jungshik Shin, Mathias Bynens, Nebojša Ćirić, Sathya Gunasekaran, Jakob Kummerow
ft...@chromium.org,js...@chromium.org http://shorturl.at/adiZ4 Specification: https://github.com/tc39/ecma402/pull/347 http://shorturl.at/adiZ4 No TAG review since the TC39 and ECMA402 will cover that. Enhance the Intl.DateTimeFormat API by adding a “millisecondDigits” option to control the format of fractional of second. The Date object in ECMAScript store time information with precision of millisecond. Some web application developers need to format time including the detail of millisecond as fraction of second. The proposed millisecondDigits option enhances the Intl.DateTimeFormat to control how to format fractional of second which is currently not supported by the Intl.DateTimeFormat API. The value of millisecondDigits should be an integer between 0 to 3 to represent how many digits the DateTimeFormat should
low Firefox: No public signals Edge: No public signals Safari: No public signals Web developers: No signals Part of the pre-existing ICU functionality w/o need of additional data. Should be easy to use by using w/ pre-existing Intl.DateTimeFormat low
nothing special. Yes Yes Tests will be added to test262 before we consider launching it. https://www.chromestatus.com/features/5704965743968256
Reply all
Reply to author
Forward
0 new messages