Permalink
Browse files

Merge pull request #5 from mattrobenolt/fix-usage-copy

Second data point is for the past two weeks
  • Loading branch information...
2 parents 8c53768 + 3a8d3b3 commit 49cd4a78a2f5f5cc592185a8e67bd470f6df685c Greg Taylor committed Sep 14, 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 49cd4a7

Please sign in to comment.