From 3060cf126fe085b296a7d40d6f1b47dc78e4f996 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20G=C3=B3mez?= Date: Thu, 12 Jul 2012 18:45:19 +0200 Subject: [PATCH] parse datetime for `tweepy.models.List` objects --- tweepy/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tweepy/models.py b/tweepy/models.py index d640b9c..4511684 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -233,6 +233,8 @@ class List(Model): for k,v in json.items(): if k == 'user': setattr(lst, k, User.parse(api, v)) + elif k == 'created_at': + setattr(lst, k, parse_datetime(v)) else: setattr(lst, k, v) return lst -- 2.25.1