Welcome to Geeklog, Anonymous Thursday, February 12 2026 @ 11:28 pm EST
Geeklog Forums
timezone hack problem
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
Hi
I read that post but i was lost
can i please just post what i did and you tell me what went wrong???
in lib common i changed this
and in config i did this
i get the error so what is wrong
can someone tell me??
I read that post but i was lost
can i please just post what i did and you tell me what went wrong???
in lib common i changed this
// timezone hack - set the webserver's timezone
if( !empty( $_CONF['Europe/Ljubljana'] ) && !ini_get( 'safe_mode' ) &&
function_exists( 'putenv' )) {
putenv( 'TZ=' . $_CONF['Europe/Ljubljana'] );
}
if( !empty( $_CONF['Europe/Ljubljana'] ) && !ini_get( 'safe_mode' ) &&
function_exists( 'putenv' )) {
putenv( 'TZ=' . $_CONF['Europe/Ljubljana'] );
}
and in config i did this
// For more information, see this discussion on geeklog.net:
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['Europe/Ljubljana'] = 'Etc/GMT+1'; // e.g. 6 hours behind GMT
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['Europe/Ljubljana'] = 'Etc/GMT+1'; // e.g. 6 hours behind GMT
i get the error so what is wrong
can someone tell me??
15
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
First of all, the timezone hack is built into Geeklog now, so you don't have to change anything in lib-common.php. Revert the changes you made there.
Also note that you made the changes to the wrong side of the '=' sign. Try
And don't forget to remove the // in front of that line in config.php.
bye, Dirk
Also note that you made the changes to the wrong side of the '=' sign. Try
Text Formatted Code
$_CONF['timezone'] = 'Europe/Ljubljana';And don't forget to remove the // in front of that line in config.php.
bye, Dirk
15
10
Quote
Status: offline
garfy
Forum User
Full Member
Registered: 01/02/05
Posts: 437
Location:EU
wow it is working
thank you Dirk
What about the date on the top page it is still in english language
everything else works with my language pack but not the date on the top of the page on the right side
thank you Dirk
What about the date on the top page it is still in english language
everything else works with my language pack but not the date on the top of the page on the right side
15
14
Quote
All times are EST. The time is now 11:28 pm.
- 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