From 8a1ea2ad0aa4d513ebea0f2bc46b96bd4ddc504f Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 7 Jul 2014 09:54:15 +0000 Subject: feature 2807: nicer display of "from to" dates (required changes in "format_date" function) git-svn-id: http://piwigo.org/svn/trunk@28981 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/picture_modify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/picture_modify.php') diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 57d98276a..0c7910357 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -283,7 +283,7 @@ while ($user_row = pwg_db_fetch_assoc($result)) $intro_vars = array( 'file' => l10n('Original file : %s', $row['file']), - 'add_date' => l10n('Posted %s on %s', time_since($row['date_available'], 'year'), format_date($row['date_available'], false, false)), + 'add_date' => l10n('Posted %s on %s', time_since($row['date_available'], 'year'), format_date($row['date_available'], array('day', 'month', 'year'))), 'added_by' => l10n('Added by %s', $row['added_by']), 'size' => $row['width'].'×'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB', 'stats' => l10n('Visited %d times', $row['hit']), -- cgit v1.2.3