Re: Timezone offset

"G.M. Bodnar" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Fri, Aug 24, 2007 at 09:51:33AM NZST, Pablo / Silvasonic wrote:
> Hi guys, I've just finished installing pyblosxom and already bumped
> into the first problem. I'm writing from a different time zone than my
> server's (GMT-3, the server is two hours behind.) Is there a way to
> offset the timezone, a plug-in perhaps? Thanks beforehand, and nice
> meeting you all.

My config.py has this:

# Start out by setting the correct time zone for the owner
import os
os.environ['TZ'] = 'Pacific/Auckland'

Works well enough for me.

Greg
--- -

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
pyblosxom-users mailing list
pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFGzgPwGRGKEmkMxe4RAg9gAJ9K7vMyRv14I4w2LtOwdLawNQhz4gCggoKj
aMYyiM5vdZ1lqRKskeJKWCg=
=qEIO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.