setting time zone in htaccess

hi, i created a .htaccess file on the linux server web11 with content
SetEnv TZ GMT-1
but the time in dotproject install is not changing.
any more ideas what to do?
TIA, Jure

Don’t think you can do this :slight_smile:

any other way to set server TZ for me besides unsuported .htaccess then?

Search ‘dotproject timezone’ on google, click on first result, look at last post on this page that has a hack to take care of this issue. See if it helps with your version.

that was easy. Thank you

I just had to add this to class CDate in classes/date.class.php:

/*

  • Overloaded constructor
    */

public function __construct($date=null)
{
$this->tz = Date_TimeZone::getDefault();
if (is_null($date)) {
$this->setDate(date(“Y-m-d H:i:s”));
} elseif (is_a($date, ‘Date’)) {
$this->copy($date);
} else {
$this->setDate($date);
}
$offset = 6; // How man hours different are you? (always positive)
// If your clock is ahead of the server, uncomment this line:
$this->addSeconds(6060$offset);
// If your clock is behind of the server, uncomment this line:
// $this->subtractSeconds(6060$offset);
}