Gregory Bodnar: Still just telling stories

Fri, 31 Mar 2006

Time Zone

For the longest time, I put up with the time and date of my entries here being wrong. I thought that I looked around to find a solution, but I must have dreamed the whole thing. I found an old pointer from 2003 which provides the simple solution.

On top of my config.py now lives:


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

I can’t believe I put up with that for as long as I have. It’s almost embarassing…

[2006-03-31T01:54:00Z] | [/tech/pyblosxom] | #
[94 words]