Tiny bug with date function in t3lib_befunc. Casted timestamp to integer.
authorKasper Skårhøj <kasper@typo3.org>
Fri, 9 Oct 2009 07:03:50 +0000 (07:03 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Fri, 9 Oct 2009 07:03:50 +0000 (07:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6116 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_befunc.php

index 2d284cd..1209ca4 100644 (file)
@@ -1610,7 +1610,7 @@ final class t3lib_BEfunc {
         * @return      string          Formatted time
         */
        public static function date($tstamp) {
-               return date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'], $tstamp);
+               return date($GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'], (int)$tstamp);
        }
 
        /**