Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Zend_Filter_LocalizedToNormalized return date array instead of integer #739

Open
irenelagno opened this issue Jun 13, 2017 · 1 comment
Open

Comments

@irenelagno
Copy link

irenelagno commented Jun 13, 2017

Hello!

$filter = new Zend_Filter_LocalizedToNormalized(array('locale' => 'es_CO'));
$val = $filter->filter( '1' );
$val should be 1000000 now, but is an array with date informations:
array ( [date_format] => "d/MM/y", [locale] => "es_CO", [day] => 1, [month] => false, [year] => false)
I found similar issue with other localization which have been already fixed.
The same problem exists with locale="es_CL", "es_CR"

@froschdesign
Copy link
Member

We are sorry, but ZF1 reaches its End of Life (EOL).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants