[Nitro] [PATCH] New FeedHelper
Fabian Buch
fabian at oggu.de
Sun Apr 23 05:22:45 EDT 2006
Am 23.04.2006 um 09:40 schrieb Bryan Soto:
> Could you try this change and see if it works for you then? It passes
> the tests on WIndows.
> t = DateTime.parse(time.strftime('%Y-%m-%d')).strftime('%FT%T%z')
Makes tests pass indeed, but also sets time to 00:00:00 for all your
Atom entries. Digged a little further into it and it seems to_rfc3339
is an interpretation of iso8601 and in ruby's stdlib it's called
iso8601/xmlschema. Should've noticed this earlier. So finally no bad
to_rfc3339 hack anymore, instead using the method iso8601 of Time for
Atom.
Patch bundle attached.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feedhelper.patch.gz
Type: application/x-gzip
Size: 20045 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060423/9beb0667/attachment.gz
More information about the Nitro-general
mailing list