fix day stats
This commit is contained in:
parent
4ca53d8c3b
commit
4eff60e25f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class Statistics(dict):
|
||||||
for key in ['firstseen', 'lastseen']:
|
for key in ['firstseen', 'lastseen']:
|
||||||
year = '%s-%s' % (item[key].strftime('%Y'), key)
|
year = '%s-%s' % (item[key].strftime('%Y'), key)
|
||||||
month = '%s-%s' % (item[key].strftime('%Y-%m'), 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')
|
weekday = item[key].strftime('%u')
|
||||||
hour = item[key].strftime('%H')
|
hour = item[key].strftime('%H')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue