[PATCH 1/1] Add UTC to zone tables
* etcetera, zone.tab, zone1970.tab: Create a link to UTC in Europe and add it to the zone tables. --- etcetera | 3 +++ zone.tab | 3 ++- zone1970.tab | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/etcetera b/etcetera index c2e2532..745a5e0 100644 --- a/etcetera +++ b/etcetera @@ -12,6 +12,9 @@ Zone Etc/GMT 0 - GMT Zone Etc/UTC 0 - UTC Zone Etc/UCT 0 - UCT +# To facilitate a zone table entry for UTC. +Link Etc/UTC Europe/UTC + # The following link uses older naming conventions, # but it belongs here, not in the file 'backward', # as functions like gmtime load the "GMT" file to handle leap seconds properly. diff --git a/zone.tab b/zone.tab index f7000f7..bf46077 100644 --- a/zone.tab +++ b/zone.tab @@ -180,7 +180,8 @@ FM +0519+16259 Pacific/Kosrae Kosrae FO +6201-00646 Atlantic/Faroe FR +4852+00220 Europe/Paris GA +0023+00927 Africa/Libreville -GB +513030-0000731 Europe/London +GB +513030-0000731 Europe/London Britain (most areas) +GB +512840-0000005 Europe/UTC Britain (Greenwich/GMT/UTC) GD +1203-06145 America/Grenada GE +4143+04449 Asia/Tbilisi GF +0456-05220 America/Cayenne diff --git a/zone1970.tab b/zone1970.tab index 657675f..0c5876e 100644 --- a/zone1970.tab +++ b/zone1970.tab @@ -166,7 +166,8 @@ FM +0658+15813 Pacific/Pohnpei Pohnpei/Ponape FM +0519+16259 Pacific/Kosrae Kosrae FO +6201-00646 Atlantic/Faroe FR +4852+00220 Europe/Paris -GB,GG,IM,JE +513030-0000731 Europe/London +GB,GG,IM,JE +513030-0000731 Europe/London Britain (most areas) +GB +512840-0000005 Europe/UTC Britain (Greenwich/GMT/UTC) GE +4143+04449 Asia/Tbilisi GF +0456-05220 America/Cayenne GH +0533-00013 Africa/Accra
On 09/03/16 22:51, Paul Eggert wrote:
On 03/09/2016 02:11 PM, J William Piggott wrote:
+Link Etc/UTC Europe/UTC
At first glance this looks like it would cause more confusion than it'd cure. UTC is supposed to be universal, not local to Europe or to the United Kingdom. Plus, GMT is not the same as UTC.
As a Brit, I must admit I was confused by this patch! -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=- -=( Web: http://www.mev.co.uk/ )=-
On 03/10/2016 05:37 AM, Ian Abbott wrote:
As a Brit, I must admit I was confused by this patch!
Hello Ian, I think the more important question is: are you confused when running tzselect after applying the patch? Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
J William Piggott said:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
But UTC is not the time at Greenwich. They happen to be the same right now (give or take a second or so) but won't be in a few weeks. I think Etc/ is the right place for this; it's a special case zone rather than a geographical one. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646
On 03/10/2016 05:21 PM, Clive D.W. Feather wrote:
J William Piggott said:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
But UTC is not the time at Greenwich. They happen to be the same right now (give or take a second or so) but won't be in a few weeks.
How does 'where would you look' turn into 'the same as'?
I think Etc/ is the right place for this; it's a special case zone rather than a geographical one.
Do you mean as a top level menu entry for tzselect, or in regard to the etcetera source file? If its the later, I question it due to the Theory file saying etcetera can be excluded. That would leave the database without a UTC file.
On Mar 10, 2016, at 2:04 PM, J William Piggott <elseifthen@gmx.com> wrote:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
I'm about 8000 km from the Prime Meridian, and it's now 2016-03-10 22:21 UTC here - just as it is where everybody else on the list is. *I'd* look for UTC as something completely unconnected to any continent on Earth; as Paul indicates, that's what the "Universal" in "Coordinated Universal Time" means.
On 03/10/2016 05:22 PM, Guy Harris wrote:
On Mar 10, 2016, at 2:04 PM, J William Piggott <elseifthen@gmx.com> wrote:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
I'm about 8000 km from the Prime Meridian, and it's now 2016-03-10 22:21 UTC here - just as it is where everybody else on the list is.
I'm about 10840 km from Tokyo, and it's now Sun Mar 13 09:54:15 JST 2016 here - just as it is where everybody else on the list is.
*I'd* look for UTC as something completely unconnected to any continent on Earth; as Paul indicates, that's what the "Universal" in "Coordinated Universal Time" means.
That's not what "Universal" in UTC means. It means it is used as a universal reference, not that it has no geographic origin. If UTC has no geographic origin the entire time zone system breaks down. Any latitude could have been chosen as the universal reference, that wouldn't make its geographic origin disappear. What is your solution? How should the UTC _file_ be cataloged in the zone tables? What coordinates should the entry have? What CC should be used? The answers are obvious once you recognize that UTC does have a geographic origin.
On Sat, 12 Mar 2016, J William Piggott wrote: <snip>
Any latitude could have been chosen as the universal reference, that wouldn't make its geographic origin disappear.
Perhaps you meant longitude here? +------------------+--------------------------+------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +------------------+--------------------------+------------------------+
On Mar 12, 2016, at 5:00 PM, J William Piggott <elseifthen@gmx.com> wrote:
Any latitude could have been chosen as the universal reference, that wouldn't make its geographic origin disappear.
But that means that the particular longitude chosen as the universal reference has no Deep Significance.
What is your solution? How should the UTC _file_ be cataloged in the zone tables?
At the top level, not under any continent, or even under Etc.
What coordinates should the entry have?
None. It's not intended to be local time for a particular location.
What CC should be used?
None.
The answers are obvious once you recognize that UTC does have a geographic origin.
I recognize that UTC: http://www.itu.int/dms_pubrec/itu-r/rec/tf/R-REC-TF.460-6-200202-I!!PDF-E.pd... happens to be a time offset from TAI by a number of seconds "to ensure approximate agreement with UT1", and that UT1 is "{the mean solar time of the prime meridian obtained from direct astronomical observation} corrected for the effects of small movements of the Earth relative to the axis of rotation (polar variation)". I do *NOT* recognize that it is a form of European time, and therefore should have the continent of Europe associated with it; for one thing, the prime meridian cuts through Africa as well.
On Sat, 12 Mar 2016, Guy Harris wrote:
I do *NOT* recognize that it is a form of European time, and therefore should have the continent of Europe associated with it; for one thing, the prime meridian cuts through Africa as well.
The prime meridian also cuts into (but not through!) Antarctica! So, it intersects 3/7 of the world's continents... +------------------+--------------------------+------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +------------------+--------------------------+------------------------+
On 10/03/16 22:04, J William Piggott wrote:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
All my systems have two options ... UTC or Local Time. UTC is certainly not the same as London Local Time and I expect any well designed system to be running UTC at the server level, and then allow the client to view that direct, or in an alternate Local offset, which need not be their own local timezone. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
On 03/10/2016 05:48 PM, Lester Caine wrote:
On 10/03/16 22:04, J William Piggott wrote:
Given the existing choices in top level menu, where would you look for UTC? I think the prime meridian... London/Greenwich. That would be my first look.
UTC is certainly not the same as London Local Time
How does 'where would you look' turn into 'the same as'?
On 13/03/16 01:01, J William Piggott wrote:
Given the existing choices in top level menu, where would you look for
UTC? I think the prime meridian... London/Greenwich. That would be my first look.
UTC is certainly not the same as London Local Time How does 'where would you look' turn into 'the same as'?
I think the general consensus seems to agree that if one is using UTC it is NOT because you are looking for anything to do with a location. And as has been pointed out, Windows does not have an easy way to switch between UTC and 'local time'. As indicated previously, my reason for being here is to ensure that material normalised to UTC time can be accurately mapped back to the local time, so in my book UTC will always be a generic setting. What messes things up is exactly how the computer handles 'UTC' with relation to leap seconds and so even 'UTC' has to be augmented by some flag which handles those differences :( -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
On 03/09/2016 05:51 PM, Paul Eggert wrote:
... UTC is supposed to be universal, not local to Europe or to the United Kingdom.
Also said as: UTC is the same everywhere. That is true for every timescale in the tzdb; that does not stop us from identifying them by their geographic origin.
Plus, GMT is not the same as UTC.
Within the scope of the tzdb it is. I believe that the general public also considers them to be synonymous. The Theory file states that tzselect, and indirectly the zone tables, are targeted at inexperienced users. As I see it, there are only two choices: use an existing top level category, or create a new one. I experimented with creating a UTC/UTC file structure, but having a new top level menu entry just for UTC seemed overkill. Actually, you cannot create that exact structure, because of the existing UTC file in the root of TZDIR. There are other complications, what CC to use for it in the zone tables? What Coords? Using Greenwich solves those two questions. Try tzselect with the patch applied. I think you will see it is not so bad. Given the existing choices in top level menu, where would you look for UTC? My answer to that question is based on personal experience. My GPS has a World Clock application and the zone selector is geographically based, just like tzselect. I followed the menus straight to London. As with tzselect, no choice for UTC was offered. I had to settle for Reykjavik. There is one thing about my initial patch that I'm not happy with; creating the link from the 'etcetera' source file. The Theory file says that etcetera can be excluded. I was unsure what the ramifications of duplicating UTC in the 'europe' file would be. Summary questions: Should there be a zone table (tzselect) entry for UTC? Should an existing entry in the top level menu be used, or a new one created? How should the previous choice be implemented?
J William Piggott said:
Try tzselect with the patch applied. I think you will see it is not so bad. Given the existing choices in top level menu, where would you look for UTC?
My answer to that question is based on personal experience. My GPS has a World Clock application and the zone selector is geographically based, just like tzselect. I followed the menus straight to London. As with tzselect, no choice for UTC was offered. I had to settle for Reykjavik.
That would be because the London time zone is not the same as UTC, though Reykjavik is. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646
Clive D.W. Feather said:
J William Piggott said:
Try tzselect with the patch applied. I think you will see it is not so bad. Given the existing choices in top level menu, where would you look for UTC?
My answer to that question is based on personal experience. My GPS has a World Clock application and the zone selector is geographically based, just like tzselect. I followed the menus straight to London. As with tzselect, no choice for UTC was offered. I had to settle for Reykjavik.
That would be because the London time zone is not the same as UTC, though Reykjavik is.
Regarding personal experience using GPS handhelds and GPS-enabled cameras etc: I've long ago accepted that you just shrug and select Reykjavik if you want to have UTC. Even if these devices (the small selection I happen to use) *did* offer UTC directly, I wouldn't expect to find it listed next to London. Regards, Stephen Goudge Senior Software Engineer 390 Princesway Team Valley Gateshead Tyne & Wear NE11 0TU T +44 (0) 191 420 3015 F +44 (0) 191 420 3030 W www.petards.com ___________________________________________________________________________________________ This email has been scanned by Petards. The service is powered by Symantec MessageLabs Email AntiVirus.cloud ___________________________________________________________________________________________ This email has been sent from Petards Group plc or a member of the Petards group of companies. The information in this email is confidential and/or privileged. It is intended solely for the use of the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. Petards Group plc is registered in England & Wales. Company No. 2990100 ___________________________________________________________________________________________
export TZ=UTC has always worked. With regards to GMT != UTC I think we have the situation globally that legal time is based on astronomical time but we all set our clocks by atomic time. So Europe/London is in theory GMT in the winter and GMT+1 = British Summer Time in the summer but we set our clocks to UTC in the winter and UTC+1 in the summer and no-one cares about the difference until we have to implement a leap second. Julian On 11/03/2016 09:19, "tz-bounces@iana.org on behalf of Goudge, Stephen" <tz-bounces@iana.org on behalf of stephen.goudge@petards.com> wrote:
Clive D.W. Feather said:
J William Piggott said:
Try tzselect with the patch applied. I think you will see it is not so bad. Given the existing choices in top level menu, where would you look for UTC?
My answer to that question is based on personal experience. My GPS has a World Clock application and the zone selector is geographically based, just like tzselect. I followed the menus straight to London. As with tzselect, no choice for UTC was offered. I had to settle for Reykjavik.
That would be because the London time zone is not the same as UTC, though Reykjavik is.
Regarding personal experience using GPS handhelds and GPS-enabled cameras etc: I've long ago accepted that you just shrug and select Reykjavik if you want to have UTC. Even if these devices (the small selection I happen to use) *did* offer UTC directly, I wouldn't expect to find it listed next to London.
Regards, Stephen Goudge Senior Software Engineer
390 Princesway Team Valley Gateshead Tyne & Wear NE11 0TU
T +44 (0) 191 420 3015 F +44 (0) 191 420 3030 W www.petards.com
__________________________________________________________________________ _________________
This email has been scanned by Petards. The service is powered by Symantec MessageLabs Email AntiVirus.cloud __________________________________________________________________________ _________________
This email has been sent from Petards Group plc or a member of the Petards group of companies. The information in this email is confidential and/or privileged. It is intended solely for the use of the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful.
Petards Group plc is registered in England & Wales. Company No. 2990100 __________________________________________________________________________ _________________
----------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -----------------------------
On 03/11/2016 04:19 AM, Goudge, Stephen wrote:
Regarding personal experience using GPS handhelds and GPS-enabled cameras etc: I've long ago accepted that you just shrug and select Reykjavik if you want to have UTC.
If the zone tables had a UTC entry perhaps many of these systems would offer it as well; then we could stop shrugging. In the sources I've seen, they either use the tzdb zone tables directly or they have a conversion table that translates a larger selection to the tzdb zone table entries.
... I wouldn't expect to find it listed next to London.
Where would you expect to find it in a geographically arranged catalog? The only answer is the prime meridian, the same page London would be on.
Regards, Stephen Goudge Senior Software Engineer
390 Princesway Team Valley Gateshead Tyne & Wear NE11 0TU
Týý +44 (0) 191 420 3015 Fýý +44 (0) 191 420 3030 W www.petards.com
___________________________________________________________________________________________
This email has been scanned by Petards. The service is powered by Symantec MessageLabs Email AntiVirus.cloud ___________________________________________________________________________________________
This email has been sent from Petards Group plc or a member of the Petards group of companies. The information in this email is confidential and/or privileged. It is intended solely for the use of the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful.
Petards Group plc is registered in England & Wales. Company No. 2990100 ___________________________________________________________________________________________
On Mar 12, 2016, at 5:02 PM, J William Piggott <elseifthen@gmx.com> wrote:
Where would you expect to find it in a geographically arranged catalog? The only answer is the prime meridian, the same page London would be on.
An alternative is not to have the catalog 100% geographically-arranged, and offer UTC as an alternative to the geographical locations.
Guy Harris <guy@alum.mit.edu> writes:
On Mar 12, 2016, at 5:02 PM, J William Piggott <elseifthen@gmx.com> wrote:
Where would you expect to find it in a geographically arranged catalog? The only answer is the prime meridian, the same page London would be on.
An alternative is not to have the catalog 100% geographically-arranged, and offer UTC as an alternative to the geographical locations.
This is, for example, how time zone selection is done currently on Debian. You can choose "None of the above" at the top level continent menu, and then UTC is one of the entries along with various similar specific-offset zones. I think a good argument could be made for having UTC as a top-level selection, but it's already (correctly) not associated with any specific geography. -- Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
J William Piggott said: [UTC]
... I wouldn't expect to find it listed next to London. Where would you expect to find it in a geographically arranged catalog?
I wouldn't. You're deliberately limiting the possibilities and then trying to force an answer (which is wrong anyway; even if you accept UTC = prime meridian, it goes through countries other than the UK). The correct answer is to class it as non-geographical. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646
Apparently DST was important to the United Cigar Stores Company: http://cdn.loc.gov/service/pnp/cph/3g00000/3g08000/3g08100/3g08124v.jpg https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Victory-Cigar-Cong... Apologies if these have already been shared. Steve Jones OnTimeZone.com
Steve Jones wrote:
Apologies if these have already been shared.
It's the first I recall seeing them here. An astonishingly high-quality version of that 1918 poster is available here: https://commons.wikimedia.org/wiki/File:Victory-Cigar-Congress-Passes-DST.pn... It's 2365✕4200 pixels and is better than what the Library of Congress publishes. And all for a poster containing false propaganda! Although farmers opposed daylight saving time, city-dwellers were told via posters like this that farmers liked DST, and the resulting confusion persists to this day.
On 03/10/2016 02:04 PM, J William Piggott wrote:
Should there be a zone table (tzselect) entry for UTC?
One can use tzselect to choose UTC already, no? Something like the following. $ tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent, ocean, "coord", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) TZ - I want to specify the time zone using the Posix TZ format. #? 11 Please enter the desired value of the TZ environment variable. For example, GST-10 is a zone named GST that is 10 hours ahead (east) of UTC. UTC0 The following information has been given: TZ='UTC0' Therefore TZ='UTC0' will be used. Selected time is now: Thu Mar 10 23:19:59 UTC 2016. Universal Time is now: Thu Mar 10 23:19:59 UTC 2016. Is the above information OK? 1) Yes 2) No #? 1 You can make this change permanent for yourself by appending the line TZ='UTC0'; export TZ to the file '.profile' in your home directory; then log out and log in again. Here is that TZ value again, this time on standard output so that you can use the ./tzselect command in shell scripts: UTC0
On Thu, 10 Mar 2016, Paul Eggert wrote:
On 03/10/2016 02:04 PM, J William Piggott wrote:
Should there be a zone table (tzselect) entry for UTC?
One can use tzselect to choose UTC already, no? Something like the following.
I think it would be nice if there was a top-level entry for that in tzselect, but it should definitely not be linked to London, or Greenwich, GMT, or anything like that. cheers, Derick
On 03/10/2016 06:21 PM, Paul Eggert wrote:
On 03/10/2016 02:04 PM, J William Piggott wrote:
Should there be a zone table (tzselect) entry for UTC?
One can use tzselect to choose UTC already, no? Something like the following.
You cannot set /etc/localtime to a posix TZ string. The Theory file says that tzselect, and applications like it that use the zone tables, are to assist a layperson it selecting a time zone _file_ from the database of _files_. IMO, a posix TZ string validator doesn't even belong in tzselect. Let me try to express this issue in another way. The Time Zone Database it made up of binary zone files. If I write the name of each file on a paper index card and say put these cards in geographical order in a drawer labeled zone.tab. Where would the UTC card be? The consensus seems to be, the UTC index card cannot be placed in the zone.tab drawer. It must go in a separate drawer all by itself, because it has no geographic identity. Civil agreements to use UTC as a 'universal' reference so that globally connected systems can function efficiently does not nullify the geographic origin of UTC. A geographical model with time zones defined as offsets from UTC requires UTC to have a geographic origin. https://upload.wikimedia.org/wikipedia/commons/e/e8/Standard_World_Time_Zone... The above link is a graphic representation of such a model. Read the text at the bottom center. Look at the offsets and times along the bottom. UTC is defined by the prime meridian and it runs smack through London, because the RGO is UTC's geographic origin. The zone tables are a text representations of the same model and the location of UTC is the same. If a user enters the coords +50+00, having the UTC _file_ presented as one of the _file_ choices is good. When tzselect is run the first choices are: Please select a continent, ocean, "coord", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) TZ - I want to specify the time zone using the Posix TZ format. If you were offered a million dollars to guess which category holds the UTC _file_, what would you pick? Pacific Ocean? Asia? I think users searching for UTC know enough about it to associate it with GMT, and GMT with Greenwich, and Greenwich with London/Britain. Europe would be the million dollar guess. Perhaps the issue everyone is having with my patch is the zone table comment which tzselect would display as: Please select one of the following time zone regions. 1) Britain (most areas) 2) Britain (Greenwich/GMT/UTC) Maybe something like this would work: Please select one of the following time zone regions. 1) Britain 2) UTC - the prime meridian If not here, then where? Or is your position unchanged that the database doesn't need a UTC file?
On Mar 12, 2016, at 5:02 PM, J William Piggott <elseifthen@gmx.com> wrote:
The consensus seems to be, the UTC index card cannot be placed in the zone.tab drawer. It must go in a separate drawer all by itself, because it has no geographic identity.
Exactly.
Civil agreements to use UTC as a 'universal' reference so that globally connected systems can function efficiently does not nullify the geographic origin of UTC.
A geographical model with time zones defined as offsets from UTC requires UTC to have a geographic origin.
However, UTC isn't a time zone, so no such requirement exists. It's what you use when you need a time stamp that's the same in all time zones.
When tzselect is run the first choices are:
Please select a continent, ocean, "coord", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) TZ - I want to specify the time zone using the Posix TZ format.
Then it should be fixed to offer: Please select a continent, ocean, "coord", "UTC", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) UTC - I want to specify the use of Coordinated Universal Time. 12) TZ - I want to specify the time zone using the Posix TZ format.
On Sat, 12 Mar 2016, Guy Harris wrote:
Then it should be fixed to offer:
Please select a continent, ocean, "coord", "UTC", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) UTC - I want to specify the use of Coordinated Universal Time. 12) TZ - I want to specify the time zone using the Posix TZ format.
Exactly! +------------------+--------------------------+------------------------+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +------------------+--------------------------+------------------------+
Guy Harris said:
The consensus seems to be, the UTC index card cannot be placed in the zone.tab drawer. It must go in a separate drawer all by itself, because it has no geographic identity. Exactly.
Right.
Then it should be fixed to offer:
Please select a continent, ocean, "coord", "UTC", or "TZ". 1) Africa 2) Americas 3) Antarctica 4) Asia 5) Atlantic Ocean 6) Australia 7) Europe 8) Indian Ocean 9) Pacific Ocean 10) coord - I want to use geographical coordinates. 11) UTC - I want to specify the use of Coordinated Universal Time. 12) TZ - I want to specify the time zone using the Posix TZ format.
Agreed. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646
On 11 March 2016 at 07:26, Derick Rethans <tz@derickrethans.nl> wrote:
I think it would be nice if there was a top-level entry for that in tzselect, but it should definitely not be linked to London, or Greenwich, GMT, or anything like that.
I agree that this seems to be a bit of an oversight. On 12 March 2016 at 20:25, Guy Harris <guy@alum.mit.edu> wrote:
Then it should be fixed to offer: ... 11) UTC - I want to specify the use of Coordinated Universal Time. 12) TZ - I want to specify the time zone using the Posix TZ format.
I think this is a reasonable approach. I would point out that, per https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table, country codes AA, Q[M-Z], X[A-Z], and ZZ are permitted for "user assignment". If we were to absolutely feel that Etc/UTC needed a place in zone{,1970}.tab, it would belong there, *not* in GB. But I don't think that's necessary. -- Tim Parenti
On Mar 12, 2016, at 5:02 PM, J William Piggott <elseifthen@gmx.com> wrote:
On 03/10/2016 06:21 PM, Paul Eggert wrote:
On 03/10/2016 02:04 PM, J William Piggott wrote:
Should there be a zone table (tzselect) entry for UTC?
One can use tzselect to choose UTC already, no? Something like the following.
You cannot set /etc/localtime to a posix TZ string.
And you cannot use tzselect to set /etc/localtime to anything; what tzselect does is tell you how to set the TZ environment variable to have UTC converted in the way you specify. Whether you use its output to set the TZ environment variable, or to pick the name of a file to which to link /etc/localtime, is up to the you.
The Theory file says that tzselect, and applications like it that use the zone tables, are to assist a layperson it selecting a time zone _file_ from the database of _files_.
What it says is
Each of the database's time zone rules has a unique name. Inexperienced users are not expected to select these names unaided. Distributors should provide documentation and/or a simple selection interface that explains the names; for one example, see the 'tzselect' program in the tz code. The Unicode Common Locale Data Repository <http://cldr.unicode.org/> contains data that may be useful for other selection interfaces.
and that is, in fact, *one* of the things that tzselect can do. It's not the *only* thing it can do.
J William Piggott wrote:
https://upload.wikimedia.org/wikipedia/commons/e/e8/Standard_World_Time_Zone... ... The zone tables are a text representations of the same model
Actually, they're closer to this: https://commons.wikimedia.org/wiki/File:Tz_world_mp-color.svg although this isn't quite right either, e.g., for Ürümqi.
You cannot set /etc/localtime to a posix TZ string.
You can remove /etc/localtime, giving UTC in all implementations I know of. We could approximate this by having a new top-level selection for tzselect which acts like TZ='UTC0'. Although that wouldn't be quite the same thing, it might be good enough.
J William Piggott wrote:
If you were offered a million dollars to guess which category holds the UTC _file_, what would you pick?
That would depend on which world I lived in and whether I was willing to prostitute truth for a million bucks. In a world where the universal time "zone" has been commonly but incorrectly associated with one particular geographic location, I'd certainly know what the expected answer was, but I would definitely be feeling the same gut-wrenching dilemma unfortunately faced by smart students everywhere when faced with a multiple-choice test question where the answer clearly expected by the test-setter is not, in fact, the right answer.
I think users searching for UTC know enough about it to associate it with GMT, and GMT with Greenwich, and Greenwich with London/Britain.
That is certainly the traditional expectation, but it is not only wrong, it has caused actual, significant, some would say serious problems, such as versions of Microsoft Windows where it's effectively impossible to run a computer on UTC, because the only approximate choice is GMT, but if you choose that it assumes you're in England and helpfully switches to BST for you during the appropriate periods. We'd do well not to do anything that enshrines those mistaken assumptions and expectations. Presenting a geographically (and graphically) based time zone selector is a handy and useful user interface feature, but it need not and should not entrench the notion that geographically-based is the only way to go, or that UTC is geographically based (or a time zone at all). The tz database should lead here, by presenting UTC as a unique top-level choice. We should absolutely not follow existing muddled practice in this area.
participants (14)
-
Clive D.W. Feather -
Derick Rethans -
Goudge, Stephen -
Guy Harris -
Ian Abbott -
J William Piggott -
Julian Cable -
Lester Caine -
Paul Eggert -
Paul Goyette -
Russ Allbery -
scs@eskimo.com -
Steve Jones -
Tim Parenti