CC-5114: Calendar: User from different timezone will see the same start/end time when editing show
This commit is contained in:
parent
309156afd5
commit
9c8935af47
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ class CcShowDays extends BaseCcShowDays {
|
|||
new DateTimeZone($this->getDbTimezone())
|
||||
);
|
||||
|
||||
//make timezone current user specific
|
||||
$dt->setTimezone(new DateTimeZone(Application_Model_Preference::GetTimezone()));
|
||||
|
||||
return $dt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue