Welcome to Geeklog, Anonymous Wednesday, April 17 2024 @ 11:16 pm EDT

Geeklog Forums

How to change the default time


Status: offline

jws

Forum User
Newbie
Registered: 06/11/08
Posts: 13
Hello,

How do you change the default time, which would be the time zone in which the server is located, to your local time zone?

I've looked for this setting in the backend, but couldn't find it, so I'm thinking that there is a file that must be modified.

Any help would be appreciated, thanks.
JWS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Assuming you're on 1.5.0:

Configuration > Geeklog > Languages and Locale > Locale > Timezone

Or, on 1.4.1, search your config.php for "timezone".

bye, Dirk
 Quote

Status: offline

jws

Forum User
Newbie
Registered: 06/11/08
Posts: 13
Hello, Dirk

Found that:

// "Timezone Hack"
// If your webserver is located in a different timezone than yourself but you
// prefer Geeklog to post stories in your local time, then set your local
// timezone here.
//
// Please note that this does not work when safe_mode is on!
//
// For more information, see this discussion on geeklog.net:
// http://www.geeklog.net/forum/viewtopic.php?showtopic=21232
// $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT

Canged: // $_CONF['timezone'] = 'Etc/GMT-6'; // e.g. 6 hours behind GMT to +6 to try to get from PDT to EST. The time didn't match up, but it did change, and it's still showing PDT. How would I get it to show EST?

Thanks for your help.
JWS
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Refer to the forum post from that comment for a handy list of timezones ...

bye, Dirk
 Quote

All times are EDT. The time is now 11:16 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