Where comes the date from?

Phoca Guestbook - creating guestbooks in Joomla! CMS
lanfan
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jan 2008, 00:04

I noticed that the t

Post by lanfan »

I noticed that the timestamp in an entry is one hour wrong. Then I changed the timezone in the global Joomla server settings but it was still the same.

Does the date come from the server host? Like now = new Date();

cheers, LF
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Which version of Pho

Post by Jan »

Which version of Phoca Guestbook do you use?

I have do some changes in date. Joomla! saves the date in UTC in database. This date is converted while displaying in the site... Phoca Guestbook use this method and it should be OK....
If you find Phoca extensions useful, please support the project
lanfan
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jan 2008, 00:04

Ok, I was a few vers

Post by lanfan »

Ok, I was a few versions behind. Now I'm up to date and I get the right time.

cheers and thanks for nice code, LF
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Great,

Post by Jan »

Great,
If you find Phoca extensions useful, please support the project
Post Reply