1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00
serenity/Userland/Libraries/LibJS/Runtime/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
..
AbstractOperations.cpp LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
AbstractOperations.h LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
DateTimeFormat.cpp LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DateTimeFormat.h LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DateTimeFormatConstructor.cpp LibJS: Implement Intl.DateTimeFormat.supportedLocalesOf 2021-11-29 22:48:46 +00:00
DateTimeFormatConstructor.h LibJS: Implement Intl.DateTimeFormat.supportedLocalesOf 2021-11-29 22:48:46 +00:00
DateTimeFormatFunction.cpp LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DateTimeFormatFunction.h LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DateTimeFormatPrototype.cpp LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DateTimeFormatPrototype.h LibJS: Implement (most of) Intl.DateTimeFormat.prototype.format 2021-12-08 11:29:36 +00:00
DisplayNames.cpp LibJS: Use implicit ThrowCompletionOr<T> constructor where possible 2021-10-21 09:02:23 +01:00
DisplayNames.h LibJS: Convert DisplayNames AOs to ThrowCompletionOr 2021-09-18 22:59:15 +03:00
DisplayNamesConstructor.cpp LibJS: Convert Intl.DisplayNames functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
DisplayNamesConstructor.h LibJS: Convert Intl.DisplayNames functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
DisplayNamesPrototype.cpp LibJS+LibUnicode: Generate all styles of currency localizations 2021-11-13 11:52:45 +00:00
DisplayNamesPrototype.h LibJS: Convert Intl.DisplayNames functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
Intl.cpp LibJS: Implement a nearly empty Intl.DateTimeFormat object 2021-11-29 22:48:46 +00:00
Intl.h LibJS: Convert Intl.getCanonicalLocales() function to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
ListFormat.cpp LibJS: Fix incorrectly formatted section comments 2021-11-24 17:37:27 +00:00
ListFormat.h LibJS: Convert ListFormat AOs to ThrowCompletionOr 2021-09-18 22:59:15 +03:00
ListFormatConstructor.cpp LibJS: Convert Intl.ListFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
ListFormatConstructor.h LibJS: Convert Intl.ListFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
ListFormatPrototype.cpp LibJS: Convert Intl.ListFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
ListFormatPrototype.h LibJS: Convert Intl.ListFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
Locale.cpp LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
Locale.h LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
LocaleConstructor.cpp LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
LocaleConstructor.h LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr 2021-10-21 09:02:23 +01:00
LocalePrototype.cpp LibJS: Convert Intl.Locale functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
LocalePrototype.h LibJS: Convert Intl.Locale functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
NumberFormat.cpp LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
NumberFormat.h LibJS: Change all [[RelevantExtensionKeys]] to return constexpr arrays 2021-12-01 16:36:26 +00:00
NumberFormatConstructor.cpp LibJS: Convert Intl.NumberFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
NumberFormatConstructor.h LibJS: Convert Intl.NumberFormat functions to ThrowCompletionOr 2021-10-22 23:20:18 +01:00
NumberFormatFunction.cpp LibJS: Define the "name" property on the number format function 2021-11-14 17:00:35 +00:00
NumberFormatFunction.h LibJS: Begin implementing Intl.NumberFormat.prototype.format 2021-11-12 09:17:08 +00:00
NumberFormatPrototype.cpp LibJS: Implement Intl.NumberFormat.prototype.formatToParts 2021-11-13 19:01:25 +00:00
NumberFormatPrototype.h LibJS: Implement Intl.NumberFormat.prototype.formatToParts 2021-11-13 19:01:25 +00:00