Time Zones Specification Change? Jessie vs. Stretch?

Here you can discuss every aspect of Debian. Note: not for support requests!

Time Zones Specification Change? Jessie vs. Stretch?

Postby shinobi » 2017-09-27 02:49

Time Zones Specification Change? Jessie vs. Stretch? Doing some Ansible automation, in capturing configuration information, found that Stretch returns US/Pacific, where Jessie returns America/Los_Angeles?

# timedatectl | grep zone | cut -d ' ' -f10
America/Los_Angeles

# timedatectl | grep zone | cut -d ' ' -f10
US/Pacific

Not questioning this, just can't seem to find a documented reference on why this was done? No mention in the Stretch release notes? Clearly this was some type of design decision change?
shinobi
 
Posts: 14
Joined: 2017-08-17 00:21

Re: Time Zones Specification Change? Jessie vs. Stretch?

Postby RU55EL » 2017-09-27 04:58

Six of one, half dozen of the other.

America/Los_Angeles and US/Pacific are exactly the same time zone.

US/Pacific is more appropriate, in my opinion, because is clearly indicates the Pacific time zone. Los Angeles is a city in the Pacific time zone, but not the only one. What about Seattle or San Diego?

Changing to US/Pacific is an improvement, not a specification change.
User avatar
RU55EL
 
Posts: 316
Joined: 2014-04-07 03:42
Location: /home/russel

Re: Time Zones Specification Change? Jessie vs. Stretch?

Postby shinobi » 2017-09-28 03:37

Since I am working on Ansible automation, I just queried the OS version, and the Ansible playbook injects 'America/Los_Angeles' for Jessie, and 'US/Pacific' for Stretch or later. Not pretty but will work for now.
shinobi
 
Posts: 14
Joined: 2017-08-17 00:21


Return to General Discussion

Who is online

Users browsing this forum: makh and 1 guest

fashionable