Fixed bug #56798. Thanks to Charles Brunet.
authorjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 14 May 2014 13:16:12 +0000 (13:16 +0000)
committerjdegroot <jdegroot@735d13b6-9817-0410-8766-e36946ffe9aa>
Wed, 14 May 2014 13:16:12 +0000 (13:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/roq_newsevent/branches/3.0.0@85255 735d13b6-9817-0410-8766-e36946ffe9aa

Classes/Controller/EventController.php
Classes/ViewHelpers/Format/TimeViewHelper.php

index 95f95f7..4b7c741 100644 (file)
@@ -189,8 +189,6 @@ class Tx_RoqNewsevent_Controller_EventController extends Tx_News_Controller_News
 
         $newsRecords = $this->eventRepository->findDemanded($demand);
 
-        //$this->view->setTemplatePathAndFilename('/var/www/sites/jochem/typo62.lan/html/typo3conf/ext/roq_newsevent/Resources/Private/Templates/News/EventList.html');
-
         $this->view->assignMultiple(array(
             'news' => $newsRecords,
             'overwriteDemand' => $overwriteDemand,
index 7aaf0e7..58d220f 100644 (file)
@@ -113,7 +113,7 @@ class Tx_RoqNewsevent_ViewHelpers_Format_TimeViewHelper extends Tx_Fluid_Core_Vi
                }
 
         $timeZoneOffset = $time->getTimezone()->getOffset($time);
-        $timeStamp      = strtotime($time->format($format));
+        $timeStamp      = $time->getTimestamp();
 
         return date($format, $timeStamp - $timeZoneOffset);
     }