mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
Issue #2035 Declare new parameters
We change min and max format date, now we expect `YYYY` or `YYYY-mm`or `YYYY-mm-dd`
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ $result = pwg_query($query);
|
||||
$register_dates = array();
|
||||
while ($row = pwg_db_fetch_assoc($result))
|
||||
{
|
||||
$register_dates[] = $row['registration_month'].' '.$row['registration_year'];
|
||||
$register_dates[] = $row['registration_year'].'-'.sprintf('%02u', $row['registration_month']);
|
||||
}
|
||||
|
||||
$template->assign('register_dates', implode(',' , $register_dates));
|
||||
|
||||
Reference in New Issue
Block a user