Skip to content

Conversation

goober99
Copy link
Contributor

@goober99 goober99 commented Oct 2, 2018

Atom 0.3 used . Atom 1.0 renamed this . If you use modified(), but have Version => 1.0, XML::Atom automatically renames it to updated().

When you call XML::Feed->modified, it formats the DateTime object using DateTime::Format::W3CDTF before passing it off to XML::Atom->modified. When you called XML::Feed->updated, it was just passing the DateTime object as-is to XML::Atom->updated, and the default stringification of DateTime doesn't include the timezone as needed by Atom.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 93.625% when pulling a9c245a on goober99:hacktoberfest into 8f4fa5c on davorg:master.

@davorg davorg merged commit f83881f into davorg-cpan:master Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants