Issues

ZF-11296: CLONE - Zend_Date misses some stuff from RFC2822 - ZF1

Issue Type: Bug Created: 2011-04-16T22:33:57.000+0000 Last Updated: 2012-06-05T11:29:21.000+0000 Status: Resolved Fix version(s): - 1.11.8 (07/Jul/11)

Reporter: Dolf Schimmel (Freeaqingme) (freak) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Date

Related issues: - ZF-10949

Attachments:

Description

From the beloved IRC: {quote} Fri, 14 Jan 2011 20:53:04 GMT Why does Zend_Date tell me that's not right acc. to rfc 2822? Freeaqingme TZ names are marked as obselete in the RFC, and the +XX is preferred perhaps so might be expecting +0000 instead still, 90%of all webservers give the obs-zone <|thomas_> Yes... RFC 2822 forces to have +/-0000 Timezone no hey, the RFC still says that it should accept obselete parts if its consistent zone = (( "+" / "-" ) 4DIGIT) / obs-zone that's what it says |thomas_ obselete is still supposed to be accepted according to the RFC as long as its not mixed. (2 digit years while obselete, still accepted 4 also) <|thomas_> But thats 822 so that datetime should be valid. |thomas_, the obselete 822 standard is incorporated in 2822, and should still be regarded valid |thomas_, do you want me to patch it? <|thomas_> That seems not to be the only problem... the spec I had and integrated seems to be outdated or partitially false. Please add an issue. There are also other differences I have to check according to the ABN[F] I just read{quote}

Comments

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2011-04-16T22:35:02.000+0000

Issue was cloned from ZF-10949 to ZF-11296. First for zf2, latter for zf1.

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2011-04-16T22:37:04.000+0000

Patch: http://pastie.org/pastes/1461709/text

Posted by Môshe van der Sterre (môshevds) on 2011-05-10T20:03:20.000+0000

Patch including a few unit-tests: http://pastie.org/1886326

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2011-06-04T00:09:38.000+0000

Having signed a CLA and knowing Moshe personally I will vouch for the legal implications regarding the patch in combination of him not having signed a CLA.

Committed in r24107, merged with branch 1.11 in r24108.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts