Open
Description
Steps to repro:
- Set macOS time zone to "Phoenix, AZ" / "Mountain Standard Time"
- Verify that local time points to the correct time zone:
> ls -l /etc/localtime
lrwxr-xr-x 1 root wheel 41 Jun 8 00:12 /etc/localtime -> /var/db/timezone/zoneinfo/America/Phoenix
- Print
TimeZoneInfo.Local.Id
in .NET code
Actual result:
TimeZoneInfo.Local.Id
reportsAmerica/Creston
Expected result:
TimeZoneInfo.Local.Id
reportsAmerica/Phoenix
Notes:
America/Creston
is a deprecated alias in TZ DB data