Hi
I just tried the latest release of planetplanet 2.0, and I
found a bug.
After inspecting the latest trunk, it looks like it is still
there, but
I haven't used that version yet.
The problem is that strftime returns the string in your
locale's format,
and RFC822 requires you to put the string in C format, and
planetplanet
doesn't consider that. The result is that if you use a
locale that is
not C, or at least not C like, your RSS2.0 feeds will be
broken.
The problem is solved quite easily, by replacing the call to
strftime
with a call to formatdate from email.Utils on every place a
RFC822 date
is wanted. I'm including a patch that seems to fix the
problem, but I'm
not sure it is optimal.
Robin Sonefors
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|