Dia,
You can try adding either:
setenv TZ Europe/Paris
or
setenv TZ=CET
to your .htaccess files (I won't promise that it will work though)
Or you are going to have to just pass the timestamp to
strtotime("+9 hours");
when you add the comment to the database.
Erich Jansen
[EMAIL PROTECTED]
On Wed, 2007-10-24 at 07:57 +0000, Dia wrote:
> hi
>
> my website (+ guestbook) is on a west-coast USA server (DreamHost) and
> I'm French
> when someone posts a new comment on the guestbook, the "created" field
> takes the west-coast USA time
> to resolve this problem, I could just add 9h in a "beforeFilter"
> method, before diplaying the datas
> but I would prefer to have a DB with French time recorded
>
> so I would like to know if it is possible to add a jet lag to the
> "created" field when a post is added
>
> thanks
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---