Skip to Content Skip to Menu

[SOLVED] problem with timezone adjusting

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
13 years 6 months ago - 13 years 6 months ago #160970 by jojo12
Hi,
I am using j1.5.23,cb1.4,gj2.3RC and uddeIm2.3premium
now I have a problem with the indicated time
When I use timezone adjusting (Zeitzone anpassen) =0 then I get mytime-1.
now I try to adapt =1 then I get mytime-1 (I think it should be mytime!)
Now I try =2 then I get mytime+1
now I try =3 then I get mytime+2

I think, this is a bug in uddeIm!
Last edit: 13 years 6 months ago by jojo12.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
13 years 6 months ago - 13 years 6 months ago #160988 by slabbi
Replied by slabbi on topic Re: proplem with timezone adjusting
I am sorry but are you sure?

Remember that uddeIM also uses the locale a user setup in his profile or the server TZ. uddeIM uses in
J1.0: the server TZ (mosConfig_offset)
J1.5: the user TZ ($JUser->getParam('timezone'))
J1.6: the user TZ ($JUser->getParam('timezone'))

Whenever uddeIM requires a time stamp, it uses the system time (time()) value and adds the correction factor from uddeIM backend.

When a time stamp is displayed it uses the time zone from above to correct the factor. It is not used to correct a already existing time stamp.

So the correction factor is only relevant when a message is stored in database and does not change anything when a message is displayed.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer
Last edit: 13 years 6 months ago by slabbi.

Please Log in or Create an account to join the conversation.

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
13 years 6 months ago #160995 by jojo12
Replied by jojo12 on topic [SOLVED]: problem with timezone adjusting
you're right. I've not seen that they are 3 possibilities:
1)in backend globals->server->timezone
2)in backend user profile
3)in uddeIM Date/Time

I didn't see the 2)

Excuse me, I write this in hope to help another one. Thanks

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum