aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-07-07 09:54:15 +0000
committermistic100 <mistic@piwigo.org>2014-07-07 09:54:15 +0000
commit8a1ea2ad0aa4d513ebea0f2bc46b96bd4ddc504f (patch)
tree1c0bcbe3b1d7c8a1c464804de0fbb2a4826ef8f4 /admin
parentfb4237b7861b818cc3d46d7cc0740d648e80ccd8 (diff)
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
Diffstat (limited to 'admin')
-rw-r--r--admin/picture_modify.php2
1 files changed, 1 insertions, 1 deletions
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'].'&times;'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB',
'stats' => l10n('Visited %d times', $row['hit']),