From 747350982efdee72e86b838439aad62658b635c5 Mon Sep 17 00:00:00 2001 From: Romulo Cintra Date: Wed, 15 Dec 2021 18:53:37 +0100 Subject: [PATCH] Editorial: Add mention to RelativeTimeFormat to Api Overview (#613) * Update overview.html * Update overview.html Add `locale selection and operation` * Update spec/overview.html Co-authored-by: Richard Gibson Co-authored-by: Richard Gibson --- spec/overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/overview.html b/spec/overview.html index 2f5def63..5bbec439 100644 --- a/spec/overview.html +++ b/spec/overview.html @@ -23,7 +23,7 @@

API Overview

The ECMAScript 2022 Internationalization API Specification is designed to complement the ECMAScript 2022 Language Specification by providing key language-sensitive functionality. The API can be added to an implementation of the ECMAScript 2022 Language Specification (ECMA-262 13th Edition, or successor).

- The ECMAScript 2022 Internationalization API Specification provides several key pieces of language-sensitive functionality that are required in most applications: String comparison (collation), number formatting, date and time formatting, display names, list formatting, pluralization rules, and case conversion. While the ECMAScript 2022 Language Specification provides functions for this basic functionality (on Array.prototype: `toLocaleString`; on String.prototype: `localeCompare`, `toLocaleLowerCase`, `toLocaleUpperCase`; on Number.prototype: `toLocaleString`; on Date.prototype: `toLocaleString`, `toLocaleDateString`, and `toLocaleTimeString`), it leaves the actual behaviour of these functions largely up to implementations to define. The ECMAScript 2022 Internationalization API Specification provides additional functionality, control over the language and over details of the behaviour to be used, and a more complete specification of required functionality. + The ECMAScript 2022 Internationalization API Specification provides several key pieces of language-sensitive functionality that are required in most applications: String comparison (collation), number formatting, date and time formatting, relative time formatting, display names, list formatting, locale selection and operation, pluralization rules, and case conversion. While the ECMAScript 2022 Language Specification provides functions for this basic functionality (on Array.prototype: `toLocaleString`; on String.prototype: `localeCompare`, `toLocaleLowerCase`, `toLocaleUpperCase`; on Number.prototype: `toLocaleString`; on Date.prototype: `toLocaleString`, `toLocaleDateString`, and `toLocaleTimeString`), it leaves the actual behaviour of these functions largely up to implementations to define. The ECMAScript 2022 Internationalization API Specification provides additional functionality, control over the language and over details of the behaviour to be used, and a more complete specification of required functionality.

Applications can use the API in two ways: