public function testTimezoneSetsServerTimezoneToGMT() { $timezone = qCal_Timezone::factory(array("foo" => "bar", "name" => "FooBar/Assmunch", "abbreviation" => "t**s", "offsetSeconds" => "-28800")); // this way, our timezone component works independently of the server timezone. // if I can find a way to work with times without having php's functions adjust the output // then I will. otherwise, I'll just have to set the timezone to GMT // date_default_timezone_set("GMT"); $date = gmdate("Y-m-d H:i:s", 0); $date = qCal_Date::gmgetdate(0); }