diff options
author | plegall <plg@piwigo.org> | 2013-11-11 17:30:39 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2013-11-11 17:30:39 +0000 |
commit | c10683b35bb065e0d4db5f4bdd706998fd15b982 (patch) | |
tree | 48ad795001de0c46db368069da42d42bc8033593 /include/functions.inc.php | |
parent | 2945b71c10ea05f94b97b63904a2021afd515771 (diff) |
feature 2976: add output fields for pwg.users.getList. registration_date,
registration_date_string, registration_date_since, last_visit,
last_visit_string, last_visit_since.
bug fixed: format_date(), removing leading zero on day number
git-svn-id: http://piwigo.org/svn/trunk@25459 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r-- | include/functions.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 5425b797c..2f0b37c69 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -598,10 +598,10 @@ function format_date($original, $show_time=false, $show_day_name=true, $format=n $print = ''; if ($show_day_name) { - $print.= $lang['day'][ $date->format('w') ]; + $print.= $lang['day'][ $date->format('w') ].' '; } - $print.= ' '.$date->format('d'); + $print.= $date->format('j'); $print.= ' '.$lang['month'][ $date->format('n') ]; $print.= ' '.$date->format('Y'); |