CC-1942: Add ability to set timezone in preferences
-Can change the timezone for PHP. Need to change for python as well.
This commit is contained in:
parent
13285fdd63
commit
84ec62eeca
9 changed files with 144 additions and 21 deletions
|
@ -260,6 +260,14 @@ class Application_Model_Preference
|
|||
public static function GetStationDescription(){
|
||||
return Application_Model_Preference::GetValue("description");
|
||||
}
|
||||
|
||||
public static function SetTimezone($timezone){
|
||||
Application_Model_Preference::SetValue("timezone", $timezone);
|
||||
}
|
||||
|
||||
public static function GetTimezone(){
|
||||
return Application_Model_Preference::GetValue("timezone");
|
||||
}
|
||||
|
||||
public static function SetStationLogo($imagePath){
|
||||
if(!empty($imagePath)){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue