Page 1 of 2

Hello,I&

Posted: 01 Feb 2008, 12:23
by Bonevier
Hello,

I've correctly changed the server time to my local time in the joomla global configuration.

But when I post in my guestbook, the time shows up british time (CET - 1). I'm on CET (Sweden).

What form do I have to edit to get the correct servertime when posting?

Thanks,

Hi, Phoca Guestbook

Posted: 01 Feb 2008, 12:58
by Jan
Hi, Phoca Guestbook use standard Joomla! timestamp:

// Create the timestamp for the date
$row->date = gmdate('Y-m-d H:i:s');

How should you chang

Posted: 04 Feb 2008, 16:57
by John
How should you change that line of code to adjust for the Swedish time?

If you save date to

Posted: 04 Feb 2008, 17:31
by Jan
If you save date to database, you must save it this way:

Y-m-d H:i:s

If you get it from database, you can convert it to your swedish format, see: http://cz2.php.net/manual/en/function.date.php

Thanx for this guest

Posted: 06 Feb 2008, 21:52
by Raevmi
Thanx for this guestbook.
I also have one question about the time.
When I did a posting on the frontpage the time was right at the same time I did the posting in my guestbook. What I saw is that the posting time in my guestbook was about one hour back.
Posting Frontpage 20:30 guestbook posting 19:30
How is it possible if the guestbook is using Joolma time?

Hi, you right, Jooml

Posted: 06 Feb 2008, 23:09
by Jan
Hi, you right, Joomla! saves the date one hour back. If it get the date from database, it converters it to normal date... The converting was missed in Phoca Guestbook ...
Download the Phoca Guestbook now (version 1.1.3), it should be fixed...

Jan

Ok thanx. But when I

Posted: 07 Feb 2008, 10:15
by Raevmi
Ok thanx. But when I try to download version 1.1.3 the popup comes with com_phocaguestbook_v1.1.2_beta.zip

Posted: 07 Feb 2008, 14:23
by Jan
Fixed

Re: How to change server time

Posted: 26 May 2009, 11:27
by nhaga
Hi!
I have version 1.3.2 and I still have this problem.
All posts get a time stamp with 1 hour lag.

Could I change the code to fix this?

Re: How to change server time

Posted: 29 May 2009, 00:27
by Jan
Hi, try to see your time settings in global configuration of Joomla!