aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions
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 /include/ws_functions
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 'include/ws_functions')
-rw-r--r--include/ws_functions/pwg.users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ws_functions/pwg.users.php b/include/ws_functions/pwg.users.php
index d3c676df1..e007dd111 100644
--- a/include/ws_functions/pwg.users.php
+++ b/include/ws_functions/pwg.users.php
@@ -196,7 +196,7 @@ SELECT user_id, group_id
{
foreach ($users as $cur_user)
{
- $users[$cur_user['id']]['registration_date_string'] = format_date($cur_user['registration_date'], false, false);
+ $users[$cur_user['id']]['registration_date_string'] = format_date($cur_user['registration_date'], array('day', 'month', 'year'));
}
}
@@ -240,7 +240,7 @@ SELECT
if (isset($params['display']['last_visit_string']))
{
- $users[ $row['user_id'] ]['last_visit_string'] = format_date($last_visit, false, false);
+ $users[ $row['user_id'] ]['last_visit_string'] = format_date($last_visit, array('day', 'month', 'year'));
}
if (isset($params['display']['last_visit_since']))