1
Hi All,
I'm working on my first theme and I'm having a whole lotta fun with time/day.
My servers site says thier servers are located in California, USA, and I'm located in Arizona, USA but if that was actually the case in XOOPS Admin I would set the server timezone as (GMT-8:00) Pacific Time... and the default timezone to (GMT-7:00) Mountain Time... HMMM, then why do I have to set the sever timezone to (GMT+2:00) Athens... to get CBB to produce the right time/date? OK maybe thier not REALLY located in California, I can deal with that. This paragraph only illustrates information and what I think I know.
So.. In the theme I'm using the following Smarty Tag:
<{$smarty.now|date_format:"%A, %B %e, %Y"}>
and that obviosly produces the date where the server is loocated.
Two questions:
I've been combing through the CBB files trying to figure out how CBB gets it right but I can't find it. Can anyone point me to the right file where CBB sets the time?
Or is it possible to edit the Smarty Tag or run a php script something like smarty.now -8hrs? I know thats a bad example I'm obviously not a programmer.
Thanks for any help/suggestions/ideas/resource links/critisism/ etc in advance
Steve