Ignore:
Timestamp:
08/29/10 19:35:13 (21 months ago)
Author:
vain
Message:
  • smarty modifier dateformat: fallback for dateformat no longer needed (set in application already)
  • minor comparison tweak to smarty viewhelper load_module
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/viewhelper/smarty/modifier.dateformat.php

    r4493 r4611  
    1919 * Example:  {$timestamp|date} 
    2020 
    21  * @version  1.0 
    2221 * @author   Jens-André Koch <jakoch@web.de> 
    2322 * @param string = has to be a unix timestamp 
     
    2625function smarty_modifier_dateformat($string) 
    2726{ 
    28     if (!defined('DATE_FORMAT')) 
    29     { 
    30         define('DATE_FORMAT', "d.m.Y H:i"); 
    31     } 
    32      
    3327    # it's a unix timestamp? 
    3428    if(mb_strlen($string) == 11)  
Note: See TracChangeset for help on using the changeset viewer.