Use EST to get fixed UTC-5 for traffic date displays.

This commit is contained in:
bsimpson63
2013-04-25 11:03:06 -04:00
parent 0e3017788f
commit e04e0714cc

View File

@@ -661,7 +661,7 @@ class PromotedLinkTraffic(Templated):
ctr = _clickthrough_rate(imps, clicks)
date = date.replace(tzinfo=pytz.utc)
date = date.astimezone(pytz.timezone("US/Eastern"))
date = date.astimezone(pytz.timezone("EST"))
datestr = format_datetime(
date,
locale=c.locale,