Changeset 4611 for trunk/core/viewhelper/smarty/modifier.dateformat.php
- Timestamp:
- 08/29/10 19:35:13 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/viewhelper/smarty/modifier.dateformat.php
r4493 r4611 19 19 * Example: {$timestamp|date} 20 20 21 * @version 1.022 21 * @author Jens-André Koch <jakoch@web.de> 23 22 * @param string = has to be a unix timestamp … … 26 25 function smarty_modifier_dateformat($string) 27 26 { 28 if (!defined('DATE_FORMAT'))29 {30 define('DATE_FORMAT', "d.m.Y H:i");31 }32 33 27 # it's a unix timestamp? 34 28 if(mb_strlen($string) == 11)
Note: See TracChangeset
for help on using the changeset viewer.
