Yay! I finally found what was going on here.
After getting the string formatted just like I wanted:
mydate=time.strftime("%a, %b %d, %Y", c)
I had to somehow convert it to a unicode string before adding it as an article. So instead of this:
'date' :' {' + mydate + '}'
I needed this:
'date' :u' {' + mydate + '}'
All good now...
|