Opened 4 years ago

Last modified 4 years ago

#1835 new bug

Preferences: Problems with daylight saving time

Reported by: globetrotter_tt Owned by:
Priority: minor Milestone: unassigned
Component: BW Profile Keywords: timezone, DST, preferenced
Cc:

Description

user bug report:

Dear BeWelcome,

I just signed up and was tweaking my settings, when I bumped in to the delicate problem of
DST:

I live in Moscow right now – so that’s the time zone I chose. For political reasons we
have *permanent* DST here at the moment, the same as if we were one time zone to the east
without DST.

So, what do I choose to get correct time stamps?:
a) Moscow – no DST (or will that put me at UTC+3?)
b) Moscow – with DST (or will that switch back to standard time in the autumn?)
c) Other city – no DST (if so, what city should I choose to land in UTC+4?)

The options I have to choose from are both partially true, partially not true (yes we have
DST but no, don’t change the time offset for me twice a year).

Change History (5)

comment:1 follow-up: Changed 4 years ago by shevek

That setting is bogus anyway. Why would a user have to set that?

Ask any computer about it and it does know the right answer far better. Voting to remove that preference (I'm pretty sure it not used anywhere)...

comment:2 Changed 4 years ago by jsfan

I looks like there might be am/pm mix-ups as well :(

comment:3 in reply to: ↑ 1 Changed 4 years ago by dima42

Replying to shevek:

That setting is bogus anyway. Why would a user have to set that?

Ask any computer about it and it does know the right answer far better. Voting to remove that preference (I'm pretty sure it not used anywhere)...

What do you mean by "anywhere"? What about ServerToLocalDateTime?()? Anyhow, we need either a daylight setting input from a user, or to add javascript to pull the user's local time and convert based on that. It looks like phpBB and vBulletin have time zone and "is daylight savings in effect" in user preferences.

See comments 2 and 3 on http://stackoverflow.com/questions/13/determining-a-web-users-time-zone

It does seem like "is Daylight Savings in effect?" is a better query than "is Daylight Savings enabled" due to different dates of daylight savings customs. It'd also be possible to get a user to input location and then look it up via e.g. http://askgeo.com/.

comment:4 Changed 4 years ago by shevek

There was a longer discussion in the bugs group (see http://www.bewelcome.org/groups/570/forum/s4505-Time_error_in_posting).

Javascript to fetch the local time doesn't really help in my opinion. Lets look at Jane Doe she lives in New York and travels through Europe. We would get a timestamp for a computer that's in Europe but originate in New York. Which time would be the right one to show.

I strongly vote for removing this setting and update the time stamp on the forum posts to just show the time difference and not a date time.

comment:5 Changed 4 years ago by dima42

I don't understand your concern about Jane Doe. It's pretty consistent to show the same time zone as the computer clock shows. However, I also don't like javascript time pulling, because it is not transparent to user, not easily manipulated by user, and prone to mistakes.

I don't think unilaterally removing time settings for the user is the way to go because of future functionality possibilities. For instance, if we have scheduled events in the future, it would be pretty bad to show them as "65 hours from now". But I really like the idea of displaying time differences for recent forum posts.

Note: See TracTickets for help on using tickets.