zendframework / zend-filter

Filter component from Zend Framework
BSD 3-Clause "New" or "Revised" License
68 stars 35 forks source link

DateTimeFormatter #58

Open geerteltink opened 7 years ago

geerteltink commented 7 years ago

Is there any reason why DateTime::ISO8601 is still used in DateTimeFormatter?

Taken from the docs:

DateTime::ISO8601 DATE_ISO8601 ISO-8601 (example: 2005-08-15T15:52:01+0000) Note: This format is not compatible with ISO-8601, but is left this way for backward compatibility reasons. Use DateTime::ATOM or DATE_ATOM for compatibility with ISO-8601 instead.

DateTime::ATOM DATE_ATOM Atom (example: 2005-08-15T15:52:01+00:00)

Ocramius commented 7 years ago

Most likely BC compliance: changing it would be a major BC break...

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-filter; a new issue has been opened at https://github.com/laminas/laminas-filter/issues/7.