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
This commit is contained in:
plegall
2013-11-11 17:30:39 +00:00
parent 2945b71c10
commit c10683b35b
2 changed files with 64 additions and 4 deletions
+2 -2
View File
@@ -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');