mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user