mirror of
https://github.com/RGBCube/serenity
synced 2025-10-26 11:32:33 +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. |
||
|---|---|---|
| .. | ||
| DateTimeFormat.@@toStringTag.js | ||
| DateTimeFormat.js | ||
| DateTimeFormat.prototype.format.js | ||
| DateTimeFormat.prototype.formatRange.js | ||
| DateTimeFormat.prototype.formatRangeToParts.js | ||
| DateTimeFormat.prototype.formatToParts.js | ||
| DateTimeFormat.prototype.resolvedOptions.js | ||
| DateTimeFormat.supportedLocalesOf.js | ||