mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
When we encounter an explicit timezone, we shift the time to UTC. Because we rely on `mktime`, we need to shift it to the local time before proceeding. If no explicit timezone is provided, local timezone is assumed. This fixes the "timezone-offset extension" LibJS test running on machines with a non-UTC timezone offset. Co-authored-by: Timothy Flynn <trflynn89@pm.me>
16 KiB
16 KiB