Display correct day of the week with negative UTC offset
A duplicate subtraction of the UTC offset and DST time caused the creation of an incorrect timestamp. In return this caused us to go back too far and therefore moved us back one day. Conflicts: root/portal/modules/portal_calendar.php
This commit is contained in:
1 parent
3be38fabc5
commit
966f5cfa2d
1 file changed
+5
@@ -591,6 +591,11 @@ class portal_calendar_module
|
||||
**/
|
||||
private function makeTimestamp($date)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
global $user;
|
||||
|
||||
>>>>>>> 36903cb... Display correct day of the week with negative UTC offset
|
||||
$this->stamp = strtotime($date);
|
||||
return ($this->stamp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user