Fixed the unit tests and changed ops->zu

This commit is contained in:
Albert Santoni 2014-06-09 11:34:25 -04:00
parent a07121787f
commit 345c782eb9
4 changed files with 7 additions and 4 deletions

View file

@ -545,7 +545,11 @@ class Application_Model_Preference
// Returns station default timezone (from preferences)
public static function GetDefaultTimezone()
{
return self::getValue("timezone");
$stationTimezone = self::getValue("timezone");
if (is_null($stationTimezone) || $stationTimezone == "") {
$stationTimezone = "UTC";
}
return $stationTimezone;
}
public static function SetUserTimezone($timezone = null)