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

Zend_Filter_LocalizedToNormalized return date array instead of integer #739

Description

@irenelagno

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions