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:
Marc Alexander
2013-02-15 10:41:20 +01:00
parent 3be38fabc5
commit 966f5cfa2d

View File

@@ -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);
}