1

Topic: Trouble with display date/time for Guest user (1.2.19)

Hi,

I use PunBB 1.2.19 version.

I install PunBB on the server located in USA, but the site is for users from Poland (-7 hours different). I set the Timezone to (-7) and it's works fine when any user is logged, but for guest the time (post time, etc.) is bad and displays with no different in hours. I try to change the table "forum_users", (field "timezone" for "Guest" user), but this don't have any effect.

If You have any help or suggestion, please let me know.

Best regards,
Fresh.

2 (edited by zioup2 2008-11-29 20:47)

Re: Trouble with display date/time for Guest user (1.2.19)

Hello, I got the same trouble from French country with server in australia.... Did you find something good?
Thank you

3

Re: Trouble with display date/time for Guest user (1.2.19)

zioup2 wrote:

Hello, I got the same trouble from French country with server in australia.... Did you find something good?
Thank you
Last edited by zioup2 (Today 21:47:32)

Yes, I have one solution. At the forum set  "Server timezone" at 00. Now You must change the server date time. I done this in header.php - date_default_timezone_set("Europe/Warsaw"); It works fine with PHP 5 smile

4 (edited by zioup2 2008-11-30 09:01)

Re: Trouble with display date/time for Guest user (1.2.19)

fine i only put this:
date_default_timezone_set("Europe/Warsaw");
every where in the header.php?
well i'm going to try it. thank you

5 (edited by zioup2 2008-11-30 09:02)

Re: Trouble with display date/time for Guest user (1.2.19)

I'm not lucky, it's not running... even with php5...:((