output += '<p class="time">\n'
if item.imageURL:
output += '<a class="image" href="%s"><img class="image" src="%s" alt="%s" /></a>\n' % (item.imageLink, item.imageURL, item.blogTitle)
- output += '(<a href="%s">%s</a>)\n' % (item.itemURL ,time.strftime('%A %B %d, %Y %H:%M %Z', time.localtime(item.itemDate)))
+ output += '(<a href="%s">%s</a>)\n' % (item.itemURL ,time.strftime('%A %B %d, %Y %H:%M %Z', time.gmtime(item.itemDate)))
output += '</p>\n'
output += '<p class="body">\n'
output += item.contents
output += '</div>\n'
output += '<div class="items">\n'
for date in self.planet:
- output += '<h1>%s</h1>\n' % time.strftime('%A %B %d, %Y', time.localtime(date.planetDate))
+ output += '<h1>%s</h1>\n' % time.strftime('%A %B %d, %Y', time.gmtime(date.planetDate))
for item in date.items:
output += self.__write_item__(item)
# see how many items we've written