fixing eposh problems
This commit is contained in:
parent
34000f3e37
commit
96292db3c1
3 changed files with 7 additions and 6 deletions
2
stats.py
2
stats.py
|
|
@ -26,7 +26,7 @@ unicode_json = {}
|
|||
def return_epoch(time):
|
||||
if time == '':
|
||||
return ''
|
||||
tup = map(int, time.split('/'))
|
||||
tup =list( map(int, time.split('/')))
|
||||
l = (tup[2], tup[0], tup[1], 0, 0, 0)
|
||||
epochs = calendar.timegm(l)
|
||||
return (int(epochs))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue