1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Intl
Timothy Flynn adaf5985a4 LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format
There are a few FIXMEs that will need to be addressed, but this
implements most of the prototype method. The FIXMEs are mostly related
to range formatting, which has been entirely ignored so far. But other
than that, the following will need to be addressed:

* Determining flexible day periods must be made locale-aware.
* DST will need to be determined and acted upon.
* Time zones other than UTC and calendars other than Gregorian are
  ignored.
* Some of our results differ from other engines as they have some
  format patterns we do not. For example, they seem to have a lonely
  {dayPeriod} pattern, whereas our closest pattern is
  "{hour} {dayPeriod}".
2021-12-08 11:29:36 +00:00
..
DateTimeFormat LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DisplayNames LibJS+LibUnicode: Generate all styles of currency localizations 2021-11-13 11:52:45 +00:00
ListFormat LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
Locale LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
NumberFormat LibJS: Implement unit number formatting 2021-11-16 23:14:09 +00:00
Intl.@@toStringTag.js LibJS: Implement Intl[@@toStringTag] 2021-08-08 20:14:59 +01:00
Intl.getCanonicalLocales.js LibJS: Handle existing Intl.Locale objects in CanonicalizeLocaleList 2021-09-02 17:56:42 +01:00