feature 2807: fix bugs on comments format_date
git-svn-id: http://piwigo.org/svn/trunk@28995 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
5dac760ce7
commit
a7e57cf852
3 changed files with 5 additions and 5 deletions
|
|
@ -201,7 +201,7 @@ while ($row = pwg_db_fetch_assoc($result))
|
|||
'ID' => $row['id'],
|
||||
'TN_SRC' => $thumb,
|
||||
'AUTHOR' => trigger_change('render_comment_author', $author_name),
|
||||
'DATE' => format_date($row['date'], true),
|
||||
'DATE' => format_date($row['date']).' '.substr($row['date'],11,4),
|
||||
'CONTENT' => trigger_change('render_comment_content',$row['content']),
|
||||
'IS_PENDING' => ('false' == $row['validated']),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ SELECT *
|
|||
'ALT' => $name,
|
||||
'AUTHOR' => trigger_change('render_comment_author', $comment['author']),
|
||||
'WEBSITE_URL' => $comment['website_url'],
|
||||
'DATE'=>format_date($comment['date'], true),
|
||||
'DATE'=>format_date($comment['date']).' '.substr($comment['date'],11,4),
|
||||
'CONTENT'=>trigger_change('render_comment_content',$comment['content']),
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ SELECT
|
|||
array(
|
||||
'ID' => $row['id'],
|
||||
'AUTHOR' => trigger_change('render_comment_author', $row['author']),
|
||||
'DATE' => format_date($row['date'], true),
|
||||
'DATE' => format_date($row['date']).' '.substr($row['date'],11,4),
|
||||
'CONTENT' => trigger_change('render_comment_content',$row['content']),
|
||||
'WEBSITE_URL' => $row['website_url'],
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue