mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
date convert typo
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/date_handler.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/date_handler.php,v $
|
||||||
| $Revision: 1.7 $
|
| $Revision: 1.8 $
|
||||||
| $Date: 2009-10-22 19:14:26 $
|
| $Date: 2009-10-23 13:06:21 $
|
||||||
| $Author: secretr $
|
| $Author: secretr $
|
||||||
|
|
|
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
@@ -49,15 +49,15 @@ class convert
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'forum': // DEPRECATED - temporary here from BC reasons only
|
case 'forum': // DEPRECATED - temporary here from BC reasons only
|
||||||
default:
|
default:
|
||||||
//BC - old 'forum' call
|
//BC - old 'forum' call
|
||||||
if(strpos('%', $mask) === FALSE)
|
if(strpos($mask, '%') === FALSE)
|
||||||
{
|
{
|
||||||
$mask = e107::getPref('forumdate');
|
$mask = e107::getPref('forumdate');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$datestamp += TIMEOFFSET;
|
$datestamp += TIMEOFFSET;
|
||||||
return strftime($mask, $datestamp);
|
return strftime($mask, $datestamp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user