Ignore:
Timestamp:
Jul 7, 2014, 11:36:23 PM (10 years ago)
Author:
rvelices
Message:

feature 2807: fix bugs on comments format_date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/comments.php

    r28587 r28995  
    5858    include_once( PHPWG_ROOT_PATH .'include/functions_comment.inc.php' );
    5959    check_input_parameter('comments', $_POST, true, PATTERN_ID);
    60    
     60
    6161    if (isset($_POST['validate']))
    6262    {
     
    187187        )
    188188     );
    189   if (empty($row['author_id'])) 
     189  if (empty($row['author_id']))
    190190  {
    191191    $author_name = $row['author'];
     
    202202      'TN_SRC' => $thumb,
    203203      'AUTHOR' => trigger_change('render_comment_author', $author_name),
    204       'DATE' => format_date($row['date'], true),
     204      'DATE' => format_date($row['date']).' '.substr($row['date'],11,4),
    205205      'CONTENT' => trigger_change('render_comment_content',$row['content']),
    206206      'IS_PENDING' => ('false' == $row['validated']),
Note: See TracChangeset for help on using the changeset viewer.