Fossil SCM

Diable using UTC time zone as default

Open

be1285190bb9ef3… · opened 16 years, 3 months ago

Type
Feature_Request
Priority
Severity
Minor
Resolution
Open
Subsystem
Created
Dec. 29, 2009 8:53 p.m.

This is just an suggestion to uncheck using UTC timezone by default installation. I installed fossil many times and this is one of todo tasks for my fossil instance.

Please uncheck the using UTC timezone, so I can see the changes in local timezone.

of course this just an opinion from a person don't think in UTC time zone.


jeremy_c added on 2009-12-31 04:49:19:
I think that either default would cause equal confusion. Many projects that use fossil across timezones (most open source apps) would want the UTC time reporting, i.e. a common time across all timezones. Most know their local timezone offset, albeit, if everyone is in one timezone it's an unnecessary mental translation, thus the option.


anonymous added on 2009-12-31 14:21:36:
How about displaying both local and UTC time by default ?


jeremy_c added on 2009-12-31 15:18:16:
I think before going further, some thought should be put into how date/time values are actually displayed. For instance, the timeline is only one of many places a date is shown. To solve this problem correctly, we should store the timezone offset for each user, then let the user decide if all date and time values should be displayed in UTC or in their local timezone. As it stands now it's either UTC or the server's timezone, which is only of value if you happen to be in the same timezone as the server you are accessing.

This change, however, is not a 5 minute change.

Comments (1)

anonymous 13 years, 2 months ago

Or just always store in UTC and render in local time zone if required.

Possible solution as cut & pasted from: https://bugzilla.mozilla.org/show_bug.cgi?id=182238#c3


Note that it is trivial to display times in the users local time zone, without any per-user settings on the server. The web server sends a timestamp, and the browser display the date/time in local format.

Here is how:

Opened: 2002-11-27 08:09 PDT

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button