Time Zone

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
zai
Posts: 2
Joined: Fri May 28, 2004 10:27 pm

Time Zone

Post by zai »

I'm a new user, I appologize if this is an obviously answered question.

Is there a way to adjust the time zone in S9Y? The time on the server I am hosted on is a number of hours earlier than the time I am in (GMT-5), and thus my posts, by default are tagged with a different time than when I post them.

I know I can change that by hand, but I'd rather not have to do it each time. Any ideas?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Time Zone

Post by garvinhicking »

Hi Zai!

The time functions of PHP depend from the setting on the webserver, we currently have no wrapper function to add/subtract timezones from it. So you'd have to tell the server admin to adjust it for you or found some developer who may want to introduce a patch for such a wrapper function?

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
zai
Posts: 2
Joined: Fri May 28, 2004 10:27 pm

Post by zai »

Ahh, okay. I don't think changing the server's time is something that the hosting company would be willing to do, but I'll check into it. I appreciate the advice, and the quick response!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Just to let you know: I have just finished implementing Timezone support into the current 0.8 CVS development version! You can now specify an offset to add/subtract from all date-relevant input.
Regards and HTH,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply