Opened 10 years ago

Closed 9 years ago

#712 closed improve feature (fixed)

local time instead of gmt time

Reported by: enriqueguillen Owned by: jeanyves
Priority: major Milestone: new design bugfixing
Component: BV Forum Keywords: local, no gmt
Cc:

Description

All messages in phorum are displayed with the gmt time. The time should be changed to local time, more relevant to the user.

Change History (8)

comment:1 Changed 10 years ago by jeanyves

  • Owner set to jeanyves

I have start to work on it.

I added the function ServerToLocalDateTime?() which to be used at display. The argument is to be a UNIX_TIMESTAMP

It will work with the preference LocalTime?

comment:2 Changed 10 years ago by jeanyves

  • follow_up changed from none to release
  • show_on_bw changed from 0 to 1
  • Status changed from new to assigned

I have done some work for it

try www.bewelcome.org/bw/mypreferences.com, choose your setting (its advanced preferences for now), logoff, login and sur the bw forum in local time

comment:3 Changed 9 years ago by crumbking

Choose your time zone

  • No
  • Yes

Choose your the city which is in the same TimeZone as yours

What does that mean? This is a strange wording. Which city should I choose?

comment:4 Changed 9 years ago by jeanyves

if you look to http://www.bewelcome.org/bw/mypreferences.php you will see that there is a dropdown with a list cities for local time. It has not yet been programmed in the rox version

The list is an association cities(or area) + offset in second with the server time

For Los Angeles it is -28000 seconds For London 0 seconds For Paris/Berlin? +3600 seconds For Tehran etc

In addition the routine also manage daylight saving depending on the choice of user (its another preference).

comment:5 Changed 9 years ago by crumbking

  • Milestone changed from unassigned to new design bugfixing

I changed to Berlin with the old pref. link. I tested again in forum but still one hour diffrence between local time and forum time.

If this works we should integrate this into rox preference!

comment:6 Changed 9 years ago by jeanyves

@Manuel did you also set up properly your daylight saving preference ?

comment:7 Changed 9 years ago by crumbking

hey jeanyves,

I was trying again with a forum post and now it shows the right time. I guess I forgot to logout after the change. (is there no was to change time directly after pref. submit?)

So only task left here: Integrate it into the new preferences...

comment:8 Changed 9 years ago by globetrotter_tt

  • follow_up changed from release to none
  • Resolution set to fixed
  • Status changed from assigned to closed

as preferences goes in a different ticket, i will close this one.

Note: See TracTickets for help on using tickets.