diff --git a/twitter/direct_message.py b/twitter/direct_message.py index 2600dc74..012c7dbb 100644 --- a/twitter/direct_message.py +++ b/twitter/direct_message.py @@ -132,7 +132,7 @@ def CreatedAtInSeconds(self): Returns: The time this direct message was posted, in seconds since the epoch. """ - return timegm(rfc822.parsedate(self.created_at)) + return timegm(parsedate(self.created_at)) @property def SenderScreenName(self):