Looks like you are passing in a string object for the date.
feedgenerator.rfc3339_date(when) will return a string rather than a
datetime object, I'm guessing that is the problem.

 -rob

Reply via email to