Everywhere: Fix typos - act III
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
Viktor Szépe 2025-04-09 17:02:30 +00:00 committed by Sam Atkins
commit 19f88f96dc
Notes: github-actions[bot] 2025-06-16 13:21:54 +00:00
12 changed files with 16 additions and 16 deletions

View file

@ -385,7 +385,7 @@ static i64 clip_double_to_sane_time(double value)
static constexpr auto min_double = static_cast<double>(NumericLimits<i64>::min());
static constexpr auto max_double = static_cast<double>(NumericLimits<i64>::max());
// The provided epoch millseconds value is potentially out of range for AK::Duration and subsequently
// The provided epoch milliseconds value is potentially out of range for AK::Duration and subsequently
// get_time_zone_offset(). We can safely assume that the TZDB has no useful information that far
// into the past and future anyway, so clamp it to the i64 range.
if (value < min_double)