Changes for version 2.10 - 2026-11-29

  • Find the Windows time zone more reliably when TimeZoneKeyName is missing or the registry is incomplete: no more dying or warnings, and on Windows Vista and newer StandardName is also matched against each time zone's MUI_Std value.
  • Document the requirements, how $ENV{TZ} is used, and why the returned time zone name can differ from the table.
  • Tests: no longer change this machine's time zone setting in the registry, so no administrator rights are needed. The registry lookup for every Windows version is tested against an in-memory registry, also before DateTime is installed.
  • Tests: this machine's own time zone is looked up for everyone and a failure is shown; it fails, and offsets are compared, only for author testing.

Modules

Determine the local system's time zone on Windows