CC-5594 : Remove all date_default_timezone_get()
updating move show code to work with the user's timezone. unified method signature for updateScheduleStartTime to always use the $diff param.
This commit is contained in:
parent
061897a58b
commit
7e9ca3e950
3 changed files with 20 additions and 31 deletions
|
@ -213,7 +213,7 @@ class Application_Common_DateHelper
|
|||
$dateTime = new DateTime($p_dateString, new DateTimeZone($timezone));
|
||||
}
|
||||
else {
|
||||
$dateTime = new DateTime($p_dateString, new DateTimeZone(date_default_timezone_get()));
|
||||
$dateTime = new DateTime($p_dateString, new DateTimeZone(Application_Model_Preference::GetTimezone()));
|
||||
}
|
||||
$dateTime->setTimezone(new DateTimeZone("UTC"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue