PromotedLinkTraffic: set chart date to EST.

This commit is contained in:
bsimpson63
2013-04-14 18:51:18 -04:00
parent 1ea76b8f28
commit 00623614c9

View File

@@ -530,9 +530,9 @@ class PromotedLinkTraffic(RedditTraffic):
self.total_clicks += clicks
date = date.replace(tzinfo=pytz.utc)
date = date.astimezone(pytz.timezone("US/Eastern"))
datestr = format_datetime(
date,
tzinfo=pytz.timezone("US/Eastern"),
locale=c.locale,
format="yyyy-MM-dd HH:mm zzz",
)