utc timestamps

This commit is contained in:
Kenneth Reitz
2011-02-19 18:59:05 -05:00
parent 70f628a64c
commit bc88adeef1
+2 -2
View File
@@ -107,10 +107,10 @@ class Group(object):
self.creator.import_from_api(d.get('creator', None))
self.url = d.get('url', None)
self.slug = d.get('slug', None)
self.date_latest_message = datetime.fromtimestamp(
self.date_latest_message = datetime.utcfromtimestamp(
d.get('date_latest_message', None)
)
self.date_created = datetime.fromtimestamp(
self.date_created = datetime.utcfromtimestamp(
d.get('date_created', None)
)
self.topics_count = d.get('topics_count', None)