Display of current Time Zone

Bug #1335513 reported by SteveTuttle
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Wishlist
pjw

Bug Description

This is a wishlist item. It would be very helpful if the time zone currently in effect were displayed along side of the time/date in the bottom icon bar and on the header for the change time screen. When you use the Time Zone plugin, say set to UTC, exit/enter stellarium, the time value is picked from your local time but is the UTC time not UTC at your location. Displaying either "UTC" or "Local" would be very helpful.

Thanks, S.T.

Tags: time

Related branches

Changed in stellarium:
importance: Undecided → Wishlist
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Part of the time zones feature, so I'm assigning this to me.

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
tags: removed: list wish
gzotti (georg-zotti)
tags: added: time
Revision history for this message
pjw (pjw1965) wrote :

No time-zone to see (with or without the plugin) is just confusing and took me multiple hours to locate the problem.

I would prefer to see always the time zone, not "Local".
One of :
- 2015-01-05 15:45:22 +0100
- 2015-01-05 15:45:22 GMT+1
- 2015-01-05 15:45:22 UT+1
- 2015-01-05 15:45:22 MEZ

As the plugin has an option to display iso-8601 (yyyy-mm-dd) the same standard gives also the time zone when used like:
$ date -Iseconds
2015-01-05T15:49:13+0100
$ date --iso-8601=seconds
2015-01-05T15:49:42+0100

Revision history for this message
pjw (pjw1965) wrote :

Patch for current svn-tree that adds after the time a timezone (for example "UT+1", "UT+0", "UT-11") to the statusbar.
This is not dependend from the plugin "TimeZone". It works with or without it.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Sorry, but this patch is wrong. He can display time zone only for system default settings and TZ shift shouldn't calculated two times because he was calculated already.

Revision history for this message
pjw (pjw1965) wrote :

> Sorry, but this patch is wrong. He can display time zone only for system default settings and TZ shift shouldn't calculated two
> times because he was calculated already.

Better Patch (not just for system default and calculating TZ shift only once) for current svn-tree that adds after the time a timezone (for example "UT+1", "UT+0", "UT-11") to the statusbar.
This is not dependend from the plugin "TimeZone". It works with and without it.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

It's better now, but he not complete yet. I hope you are remember, that TZ shift can be not only in the form of a whole number of hours - like UTC+11:30 or UTC+12:45. And how about GUI? I guess data will be crossed now. Just an idea - are you considered using tooltips for storage TZ shift (tooltip can be multiline)?

Changed in stellarium:
assignee: Bogdan Marinov (daggerstab) → pjw (pjw1965)
status: New → In Progress
Revision history for this message
pjw (pjw1965) wrote :

> I hope you are remember, that TZ shift can be not only in the form of a whole number of hours - like UTC+11:30 or UTC+12:45.

It is working as it shoud. Entering +1.50 in the Plugin, changes the display to hh:mm:ss UT+1.5 (see attached picture from the patched stable 0.13.1).

> And how about GUI? I guess data will be crossed now. Just an idea - are you considered using tooltips for storage TZ shift (tooltip can be multiline)?

I don't understand what you exacly mean.
I changed just the display on the bottom. The tooltip there did not change, it is in my case: "deltaT = 0h1m8.4s ...".

Revision history for this message
pjw (pjw1965) wrote :

What I like most is, I can see now that (with the system default settings), I can see the changes from "UT+1" to "UT+2" when I enter summer time!

Stellarium also says that there is no summer time before 1981. What is correct for Switzerland (but not for other Countries).
The rule from 1981-1995 is different and ended one month earlyer (but stallarium does not know that). This is not a big problem, when you know that.

It is really importent to know with what timezone a astronomy program calculates! And now you can see it!

Revision history for this message
Alexander Wolf (alexwolf) wrote :

>It is working as it shoud. Entering +1.50 in the Plugin, changes the display to hh:mm:ss UT+1.5 (see attached picture from the patched stable 0.13.1).

Are you understand that UT+1.5 is not exists? It's should be UTC+01:30.

Revision history for this message
pjw (pjw1965) wrote :

> Are you understand that UT+1.5 is not exists? It's should be UTC+01:30.

You're right. Now it shows "UTC+01:30".
I also tested it with -5.75 which is displayed as "UTC-05:45".

Can you (or someone else which the rights to) submit this path, so it is merged for the next release?
Thanx.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

A patch with small modification has been added as revision 7273 (http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/7273)

Changed in stellarium:
milestone: none → 0.13.2
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.