zend-filter icon indicating copy to clipboard operation
zend-filter copied to clipboard

DateTimeFormatter

Open geerteltink opened this issue 8 years ago • 2 comments

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)

geerteltink avatar Jun 23 '17 06:06 geerteltink

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

Ocramius avatar Jun 23 '17 06:06 Ocramius

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.

weierophinney avatar Dec 31 '19 22:12 weierophinney