Skip to content

Commit

Permalink
Fix replay to temporarily only consider first 14 digits, re:#283
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Jun 19, 2020
1 parent bd1cd3a commit 4d46061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipwb/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def setLocale():

def digits14ToRFC1123(digits14):
setLocale()
digits14 = digits14[:14] # Only consider first 14 digits for now, re: #283
d = datetime.datetime.strptime(digits14, '%Y%m%d%H%M%S')
return d.strftime('%a, %d %b %Y %H:%M:%S GMT')

Expand Down

0 comments on commit 4d46061

Please sign in to comment.