Time Machine tries to detect the system's time zone during initialization. This usually gives the correct result but may be confusing if the time zone shows a different geography (for example, "CET" or "Europe/Berlin" could be auto-detected as "Europe/Vienna").
Since we already have platform-specific startup sequence, we might leverage this to detect the correct time zone from standard environment variables first:
- Use browser info for web
- Use TZ environment variable for Unix-like systems
If none of these variables exist or if they point to an unknown time zone, use the autodetection method.
Time Machine tries to detect the system's time zone during initialization. This usually gives the correct result but may be confusing if the time zone shows a different geography (for example, "CET" or "Europe/Berlin" could be auto-detected as "Europe/Vienna").
Since we already have platform-specific startup sequence, we might leverage this to detect the correct time zone from standard environment variables first:
If none of these variables exist or if they point to an unknown time zone, use the autodetection method.