Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Wrong datetime format in Atom 1.0 date constructs #6358

Closed
dmj opened this issue Jun 7, 2014 · 0 comments
Closed

Wrong datetime format in Atom 1.0 date constructs #6358

dmj opened this issue Jun 7, 2014 · 0 comments
Assignees
Milestone

Comments

@dmj
Copy link

dmj commented Jun 7, 2014

Currently ZF2 uses DateTime::ISO8601 as datetime format:

https://github.com/zendframework/zf2/blob/master/library/Zend/Feed/Writer/Renderer/Feed/AbstractAtom.php#L121

Per Atom 1.0 specification (RFC 4287, 3.3: Date Constructs) the correct format for a date construct MUST be DateTime::RFC3339 aka DateTime::ATOM.

@Ocramius Ocramius self-assigned this Jul 12, 2014
@Ocramius Ocramius removed their assignment Jul 12, 2014
@Ocramius Ocramius added the bug label Nov 27, 2014
@Ocramius Ocramius added this to the 2.3.4 milestone Nov 27, 2014
@Ocramius Ocramius self-assigned this Nov 27, 2014
Ocramius added a commit that referenced this issue Nov 27, 2014
gianarb pushed a commit to zendframework/zend-feed that referenced this issue May 15, 2015
…dding test `@group` annotation referencing PR number
gianarb pushed a commit to zendframework/zend-feed that referenced this issue May 15, 2015
gianarb pushed a commit to zendframework/zend-feed that referenced this issue May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants