Use Zend_Date
This commit is contained in:
parent
e75173772f
commit
afe8216e5b
@ -69,7 +69,9 @@ require_once 'common/dates.php';
|
||||
|
||||
function getRemoteFilename($infos)
|
||||
{
|
||||
$date = WDate::dateT('d/m/Y', 'Ymd', $infos['bilanCloture']);
|
||||
Zend_Date::setOptions(array('extend_month' => true));
|
||||
$dateCloture = new Zend_Date($infos['bilanCloture'], 'dd/MM/yyyy');
|
||||
$date = $dateCloture->toString('yyyyMMdd');
|
||||
$file = $infos['siren'].'_'.
|
||||
$infos['format'].$date.'_'.
|
||||
$infos['bilanDuree'].'_'.
|
||||
|
Loading…
Reference in New Issue
Block a user