mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 13:39:25 +00:00
When searching for the locale-specific flexible day period for a given hour, we were neglecting to handle cases where the period crosses 00:00. For example, the en locale defines a day period range of [21:00, 06:00). When given the hour of 05:00, we were checking if (21 <= 5 && 5 < 6), thus not recognizing that the hour falls in that period. |
||
---|---|---|
.. | ||
AggregateError | ||
Array | ||
ArrayBuffer | ||
Atomics | ||
BigInt | ||
Boolean | ||
DataView | ||
Date | ||
Error | ||
FinalizationRegistry | ||
Function | ||
functions | ||
Infinity | ||
Intl | ||
JSON | ||
Map | ||
Math | ||
NaN | ||
Number | ||
Object | ||
Promise | ||
Proxy | ||
Reflect | ||
RegExp | ||
Set | ||
ShadowRealm | ||
String | ||
Symbol | ||
Temporal | ||
TypedArray | ||
WeakMap | ||
WeakRef | ||
WeakSet |