fix day stats

This commit is contained in:
j 2013-10-22 18:22:31 +00:00
parent 4ca53d8c3b
commit 4eff60e25f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Statistics(dict):
for key in ['firstseen', 'lastseen']:
year = '%s-%s' % (item[key].strftime('%Y'), key)
month = '%s-%s' % (item[key].strftime('%Y-%m'), key)
day = '%s-%s' % (item[key].strftime('%Y-%m-%d'), key)
day = item[key].strftime('%Y-%m-%d')
weekday = item[key].strftime('%u')
hour = item[key].strftime('%H')