1
Hi.
I am using XOOPS 2.2.3(2.2.2rc). I am also using the 7dana-soft theme.
I wanted to change the date/time format that appears at the top left of that theme.
I accomplished this by changing the format in modifier.date_format.php
FromQuote:
function smarty_modifier_date_format($string, $format="%b %e, %Y", $default_date=null)
to
Quote:
function smarty_modifier_date_format($string, $format="%B %e, %Y | %I:%M %p", $default_date=null).
I also changed the javascript clock( ) in theme.html to
the shorty version....{$smarty.now|date_format}
This accomplished my needed change in the format, but now the time is 1 hour ahead of my local time. It seems to be using the servers time only(-5). I am (-6) in my time zone.
I have tried setting the time in my user profile(made no change no matter what i set it to), as well as in Preferences...General Settings...None of those setting seem to effect the time.
Anyone able to help me out a bit? Did I modify the wrong files?
Thanks
Foz
http://www.thewoodlandsmonitor.com/testsite