Skip to content
Browse files

update return type for twitter.models.Status.created_at_in_seconds to…

… be int instead of str
1 parent 167c34a commit 09f181e038f43236e9a1481c32c2138cb2d06a14 @jeremylow jeremylow committed May 2, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 twitter/models.py
View
2 twitter/models.py
@@ -404,7 +404,7 @@ def created_at_in_seconds(self):
the epoch (1 Jan 1970).
Returns:
- string: The time this status message was posted, in seconds since
+ int: The time this status message was posted, in seconds since
the epoch.
"""
return timegm(parsedate(self.created_at))

0 comments on commit 09f181e

Please sign in to comment.
Something went wrong with that request. Please try again.