Welcome to Geeklog, Anonymous Monday, July 14 2025 @ 05:04 am EDT
Geeklog Forums
What is the locale setting (e.g. en-gb)?
Page navigation
The example in config.html is names of months. But aren't those hardcoded within each language file's $LANG_MONTH? And pretty much every other locale setting (including timezone) is also hardcoded from within the very same locale settings.
What else is there but en-gb anyway and how can I know how it differs?

The example in config.html is names of months. But aren't...?
The example in config.html is names of months. But aren't those hardcoded within each language file's $LANG_MONTH? And pretty much every other locale setting (including timezone) is also hardcoded from within the very same locale settings.Can anyone help me?
________________________________
Our new friend seems to be a robot.
::Ben
Our new friend seems to be a robot
Whoops, good catch. I hadn't realized that he was simply copying the original question. Oh well, just ignore him then.
bye, Dirk
Thanks!

Thanks
Thanks
Did you try Configuration > Languages and Locale > Timezone Enable
then set your timezone (Etc/GMT-2 for exemple).
::Ben
Hello,
Did you try Configuration > Languages and Locale > Timezone Enable
then set your timezone (Etc/GMT-2 for exemple).
::Ben
I just checked it out... It is set for Etc/PST-8 which I believe is correct. I think the only place on my site that shows the time zone is my event manager plugin and that's where it says UTC... Could there be another spot that this finds the time zone?
Thanks
I just checked it out... It is set for Etc/PST-8 which I believe is correct. I think the only place on my site that shows the time zone is my event manager plugin and that's where it says UTC... Could there be another spot that this finds the time zone?
So what is your problem now? Geeklog does use the timezone in some of the date stamps (e.g. the one in the welcome message - see just below the header on this site) - is it not correct?
The "timezone hack" that this config option is based on has some limitations (e.g. safe_mode in PHP must be off). I have some code for better timezone report (that requires PHP 5.1 or later). Someone remind me to add that for Geeklog 1.6.1 ...
bye, Dirk
I just checked it out... It is set for Etc/PST-8 which I believe is correct. I think the only place on my site that shows the time zone is my event manager plugin and that's where it says UTC... Could there be another spot that this finds the time zone?
So what is your problem now? Geeklog does use the timezone in some of the date stamps (e.g. the one in the welcome message - see just below the header on this site) - is it not correct?
The "timezone hack" that this config option is based on has some limitations (e.g. safe_mode in PHP must be off). I have some code for better timezone report (that requires PHP 5.1 or later). Someone remind me to add that for Geeklog 1.6.1 ...
bye, Dirk
Hi Dirk... I actually took the time off the main page because it said UTC... But I have the event manager for members to sign up for events, and that still shows UTC. I'd rather it not say any time zone at all, as everyone on this site is in CA. Here's a small screen capture of the event manager since you won't be able to see it without a login.. http://www.socalstandup.com/problem.gif
Otherwise, you'll have to wait for 1.6.1 (and I meant to write "timezone support" instead of "report" above, of course).
bye, Dirk (sitting in a hotel room in San Francisco, waiting for the rain to stop)
I just changed the hack code on config.php and libcommon to this...
and
[code]if( !empty( $_CONF['timezone'] ) && !ini_get( 'safe_mode' ) &&
function_exists( 'putenv' )) {
putenv( 'TZ=' . $_CONF['timezone'] );
}
$_CONF['timezone'] = 'America/Los_Angeles';
Now it does not say UTC on my events, it now says GMT-6... Which might be Pacific time, I'm not even sure, but is there somewhere I can go in and just make it not show the time zone at all or make it say PST for everything? Pacific Standard Time is where all my users live... It's a CA niche site.
Thanks!
Page navigation
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content