Permalink
Browse files

Second data point is for the past two weeks

  • Loading branch information...
1 parent 8c53768 commit 3a8d3b3cebfb1bdc99eb6101fe92456942afeab8 @mattrobenolt mattrobenolt committed Aug 3, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 seacucumber/management/commands/ses_usage.py
@@ -42,11 +42,9 @@ def _print_daily_stats(self, conn):
stats = stats['SendDataPoints']
today = datetime.date.today()
- yesterday = today - datetime.timedelta(days=1)
current_day = {'HeaderName': 'Current Day: %s/%s' % (today.month,
today.day)}
- prev_day = {'HeaderName': 'Yesterday: %s/%s' % (yesterday.month,
- yesterday.day)}
+ prev_day = {'HeaderName': 'Past two weeks'}
for data_point in stats:
if self._is_data_from_today(data_point):

0 comments on commit 3a8d3b3

Please sign in to comment.