TimeZone in dotProject
Posted by: yshashank
Posted on: 2007-12-17 22:01:00
Hi,
I have just signed up with DreamHost and am getting to learn/love dotProject for our project management app.
My timezone is Asia/Calcutta whereas dotProject takes the server time as default. I need to set the correct timezone for my installation.
A few steps I took (with varying degrees of success):
1. Setting up a .htaccess file in the root folder with the following line
SetEnv TZ Asia/Calcutta
Result - no effect.
2. Inserting the line
putenv("TZ=Asia/Calcutta");
in my php file
Result - dotProject displays the time correctly when I print out an echo date....but the timestamp stored in the db is still the server time.
Any help on this will be appreciated.