Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 07:34 pm EST
Geeklog Forums
What is the locale setting (e.g. en-gb)?
Page navigation
LWC
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?
1000ideen
beewee
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
cristiano
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?
________________________________
kilerb
Thanks!
kilerb
Thanks
::Ben
Did you try Configuration > Languages and Locale > Timezone Enable
then set your timezone (Etc/GMT-2 for exemple).
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
kilerb
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
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
kilerb
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
Dirk
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)
kilerb
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