Contact emails ft...@chromium.org,js...@chromium.org Explainer https://github.com/tc39/ecma402/pull/346 Design docs/spec Specification: https://github.com/tc39/ecma402/pull/346 https://github.com/tc39/ecma402/pull/346 TAG review No TAG review needed since it is part of TC39 ECMA402 Summary Add dayPeriod option to Intl.DateTimeFormat so the caller can format time such as "7 in the morning", "11 in the morning", "12 noon", "1 in the afternoon", "6 in the evening", "10 at night" (or in Chinese "清晨7時", "上午11時", "中午12時", "下午1時" ,"下午6時" ,"晚上10時") Motivation It enhances the Intl.DateTimeFormat API to match what the developer cal already do in C++ and Java by calling ICU and ICU4J. Without this feature, developer need to either format the quarter in the server or ship a set of day period pattern and hour to day period mapping logic from the server to client to perform such task. Risks Interoperability and Compatibility low. *Firefox*: No public signals *Edge*: No public signals *Safari*: No public signals *Web developers*: No signals Ergonomics No increase of data. All required data already build into ICU. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)? Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md> ? Yes Tests will be added into test262 before we consider shipping it. Link to entry on the Chrome Platform Status https://www.chromestatus.com/features/6520669959356416
-- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAOcELL_E1OqHa87m0Wd00x9KMZjD5t4sTLF9qtuCZHBx1bGz5A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.