mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
ea503a4f68
The gist is that we need to construct an ICU date-time formatter for each possible Temporal type. This is of course going to be expensive. So instead, we construct the configurations needed for the ICU objects in the Intl.DateTimeFormat constructor, and defer creating the actual ICU objects until they are needed. Each formatting prototype can also now accept either a number (as they already did), or any of the supported Temporal objects. These types may not be mixed, and their properties (namely, their calendar) must align with the Intl.DateTimeFormat object. |
||
---|---|---|
.. | ||
LibCompress | ||
LibCore | ||
LibCrypto | ||
LibDiff | ||
LibDNS | ||
LibFileSystem | ||
LibGC | ||
LibGfx | ||
LibHTTP | ||
LibIDL | ||
LibImageDecoderClient | ||
LibIPC | ||
LibJS | ||
LibLine | ||
LibMain | ||
LibMedia | ||
LibRegex | ||
LibRequests | ||
LibRIFF | ||
LibSyntax | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTLS | ||
LibUnicode | ||
LibURL | ||
LibWasm | ||
LibWeb | ||
LibWebSocket | ||
LibWebView | ||
LibXML |