Mibew Messenger Community

General => Support => Topic started by: flop on February 20, 2009, 06:33:50 AM

Title: change local time
Post by: flop on February 20, 2009, 06:33:50 AM
hi, can you tell me how i can change the local time of my chat window please ?
because my php server and sql database is based in europe, and the website where there is the chat is in australia  :)
I would like to display in the chat the australia time instead the gmt+0 time please.

Can you tell me how i can change that please ?

Thanks for your help  ;)

ps : sorry for my bad english
Title: Re: change local time
Post by: Inspirer on February 20, 2009, 11:25:43 PM
I'll post the patch here very soon! We should definitely support that.

Evgeny.
Title: Re: change local time
Post by: ivoslavik on June 11, 2009, 07:52:02 AM
Hello, any update about this issue? I would also appreciate the possibility to change local time.
Title: Re: change local time
Post by: Inspirer on June 11, 2009, 11:52:42 AM
Added :)
http://mibew.org/forums/index.php?topic=25.0
Title: Re: change local time
Post by: johncross85 on April 20, 2010, 08:16:25 AM
I have just implemented a quick addition to 1.6.3 that appears to fix this problem. If you have php5+ you can set the time zone so it's just a case of adding:

date_default_timezone_set('UTC');

to the top of libs/common.php

It seems to work for me!

John
Title: Re: change local time
Post by: cyberindo on April 21, 2010, 01:23:25 AM
I have just implemented a quick addition to 1.6.3 that appears to fix this problem. If you have php5+ you can set the time zone so it's just a case of adding:

date_default_timezone_set('UTC');

to the top of libs/common.php

It seems to work for me!

John

Hello John,

I have change 'UTC' to region and city ex. 'Asia/Makassar' and its working. timezone at
http://www.php.net/manual/en/timezones.php

regards,
Cyberindo
Title: Re: change local time
Post by: alfredosimoes on December 27, 2017, 10:49:40 PM
This an old issue about setting local time.

At .../mibew/operator/locale/pt-pt/edit there is Time Locale field to change the local time. In my case it has pt_PT.UTF8

Any way my time is still wrong.

Anyone can help solving this old problem?
Title: Re: change local time
Post by: faf on December 28, 2017, 01:10:31 AM
Locale configuration has nothing to do with a value of time. It's just defines a representation of the value.

At the moment Mibew Messenger doesn't support the adjustment of server time (maybe we'll implement it someday), but the aforementioned fix still can work the things out.
Title: Re: change local time
Post by: faf on January 11, 2018, 06:37:49 PM
Oops. Have to correct myself. One can use "timezone" parameter in configs/config.yml .