Re: What is your timezone??? (was Re: Remaining things to remove mostly per the 80/20 rule)
hga@xxxxxx 12 Aug 2019 22:06 UTC
> From: "Göran Weinholt" <xxxxxx@weinholt.se>
> Date: Monday, August 12, 2019 4:54 PM
> xxxxxx@ancell-ent.com writes:
>> Hard to imagine POSIX dropped "what is your timezone for programming
>> purposes" on the floor.
> What will you do with the timezone name anyway? On my system it's
> "Europe/Stockholm". I'm actually not in Stockholm and there's no useful
> information in that string that lets me do anything related to time.
> The useful information is in the zone file itself, see e.g.:
> zdump -v /usr/share/zoneinfo/Europe/Stockholm
On my system, zdump when prompted with America/Chicago says
"America/Chicago Mon Aug 12 16:57:29 2019 CDT", which is useful
information. I'm not in Chicago, but I specified it during
installation (actually I think my IP address allowed at least one
installer to correctly guess it), because it's the big city
"everyone" in the northern half of the US knows is in US Central
Time. "CDT" because we're in Daylight Savings time right now.
So it would appear to be a seed to pick out which time zone you're
in from the timezone data file. But this messiness I leave to the
experts, I only use timezone data progamatically.
- Harold