Time Zone acronyms review on Windows

General discussion about Celestia that doesn't fit into other forums.
Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Time Zone acronyms review on Windows

Post #1by Vincent » 08.12.2007, 21:35

It seems that on non-English versions of Windows, time zone acronyms that are displayed within the time/date overlay can sometimes be confusing. As an example, my French version of Windows returns "Paris Madrid" as the timezone name instead of "Western European Time". Celestia then displays "PM" as the time zone acronym instead of the standardized "WET" abbreviation, which can be quite confusing:
Image


It would be interesting that a maximum of users on non-English Windows version report how time zone is displayed on their system. Just switch to local time, and please report your time zone acronym, along with your version of Windows such as:

---------------------------------
Windows version: French
Time Zone Acronym: PM
---------------------------------

Thanks !
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Post #2by Fenerit » 08.12.2007, 23:36

Windows version: Italian
Time Zone Acronym: osEo
Never at rest.
Massimo

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 8 months

Post #3by Adirondack » 09.12.2007, 01:10

---------------------------------
Windows version: German
Time Zone Acronym: WN
---------------------------------

WN = Western European Normaltime

Latest CVS


Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #4by Vincent » 10.12.2007, 21:36

Massimo, Ulrich, Thanks.

Has anyone else noticed this kind of weird time zone abbreviations ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #5by Christophe » 11.12.2007, 11:16

Vincent, I was thinking wouldn't it be even simpler not to display the timezone at all when using local time?

Specify UTC when it is in use and simply nothing otherwise, or maybe just 'DST' or 'STD' which is readily available in struct tm.

I don't see any way to solve this problem short of integrating zoneinfo. Note also that the switch to Qt probably won't solve the problem since Qt relies on the system's API for timezones.
Christophe

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #6by Vincent » 11.12.2007, 13:12

Christophe wrote:Vincent, I was thinking wouldn't it be even simpler not to display the timezone at all when using local time?

Christophe,

I would certainly agree with that, since time zone acronyms can sometimes be quite confusing, and when they're not, they don't bring that much information.

Then, would users who have a correct time zone acronym displayed on their system also agree with that ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #7by BobHegwood » 11.12.2007, 14:30

Christophe wrote:Vincent, I was thinking wouldn't it be even simpler not to display the timezone at all when using local time?

Specify UTC when it is in use and simply nothing otherwise, or maybe just 'DST' or 'STD' which is readily available in struct tm.


For what it's worth, I like the 'STD' option. Sounds like a reasonable
alternative to the spaghetti mess you guys are seeing now. Since I'm
one of the spoiled EST people here, this wouldn't bother me for our
use either. If the user see's 'STD' he or she KNOWS what time zone
they're set up for, yes?

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #8by ajtribick » 11.12.2007, 15:32

Hmmm... not so sure that STD is such a good choice.

(Sorry to lower the tone)

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #9by BobHegwood » 11.12.2007, 18:45

chaos syndrome wrote:Hmmm... not so sure that STD is such a good choice.

(Sorry to lower the tone)


Have you an alternative? I'm sure that the developer types here can
accommodate most anything with which you might be happier. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #10by Christophe » 11.12.2007, 18:59

We could use STD/DST and mark the strings for translation. That way the translator can use what is best depending on the language. For exemple: heure d'hiver/heure d'?©t?© in French.
Christophe

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #11by Vincent » 12.12.2007, 17:18

Christophe wrote:For exemple: heure d'hiver/heure d'?©t?© in French.

Hmm, wouldn't that be a little bit too long ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #12by Christophe » 12.12.2007, 23:12

Well, there is no hard limit on the size of the timezone name. Since in French there is no common abbreviation I guess it's either that or nothing.

My patch if finally ready, you can get it here.

There are three formats available:
- Locale: uses strftime %c under Linux, same as TZName under Windows
- TZName: 'YYYY MMM DD HH:MM:SS TZName' with TZName the timezone name under Linux and the localized versions of DST/STD under Windows
- UTCOffset: 'YYYY MMM DD HH:MM:SS ?±HHMM'

Of course this can easily be extended to include new formats.

For the time being you can cycle through the formats with 'D' (Demo is disabled).

Here are some examples under Linux:
Image
Christophe

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #13by Vincent » 18.12.2007, 22:10

Christophe,

I've not tested your patch yet, since I'm quite busy at the moment.
I'll probably have a chance to test it next week end.
The examples you've posted looks promising, though.
Are you planning to add the 3 formats option in celestia.cfg ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #14by Christophe » 18.12.2007, 22:49

Vincent wrote:Are you planning to add the 3 formats option in celestia.cfg ?


Following the discussion on the mailing list, I was rather planning on adding hooks to CelestiaCore and let the GUIs handle it as a new configuration option.
Christophe


Return to “Celestia Users”