Ignore:
Timestamp:
Dec 20, 2006 10:59:50 AM (6 years ago)
Author:
robin
Message:

Allow 12 hour date to display for emails sent today (Doug Mandell).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r421 r423  
    17111711  // define date format depending on current time   
    17121712  if ($CONFIG['prettydate'] && !$format && $timestamp > $today_limit) 
    1713     return sprintf('%s %s', rcube_label('today'), date('H:i', $timestamp)); 
     1713    return sprintf('%s %s', rcube_label('today'), date($CONFIG['date_today'] ? $CONFIG['date_today'] : 'H:i', $timestamp)); 
    17141714  else if ($CONFIG['prettydate'] && !$format && $timestamp > $week_limit) 
    17151715    $format = $CONFIG['date_short'] ? $CONFIG['date_short'] : 'D H:i'; 
Note: See TracChangeset for help on using the changeset viewer.