Remove tzinfo from untimzoned date

issue2439
review238001
This commit is contained in:
Cédric Krier committed 2012-02-07 13:59:25 +01:00
1 parent e9289a191a
commit 51c73ad3d1
1 file changed
+1 -1
+1 -1
View File
@@ -1460,7 +1460,7 @@ def timezoned_date(date, reverse=False):
return date
def untimezoned_date(date):
return timezoned_date(date, reverse=True)
return timezoned_date(date, reverse=True).replace(tzinfo=None)
def humanize(size):