From 4eff60e25f937b570dc2399d5b3348050f73ab06 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 Oct 2013 18:22:31 +0000 Subject: [PATCH] fix day stats --- pandora/user/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/statistics.py b/pandora/user/statistics.py index 613ab3d7..cd18ecc6 100644 --- a/pandora/user/statistics.py +++ b/pandora/user/statistics.py @@ -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')