gameclosure/hookbox — Issue #92: Erorr in date formatting
Author: nitzanm
Created: 2011-12-09 20:08:37+00:00
State: open

I'm trying to run Hookbox on a Windows PC with Python 2.6. I'm getting the following error

File "c:\Program Files (x86)\Python2.6\lib\site-packages\hookbox-0.3.3-py2.6.egg\hookbox\admin\admin.py", line 101, in webhook_event
"date": datetime.datetime.now().strftime("%A %d-%b-%y %T %Z")
ValueError: Invalid format string

Checking out the Python docs (http://docs.python.org/library/datetime.html#strftime-strptime-behavior), indeed I don't see that %T is a valid field.

I'm not sure what was supposed to be there, but maybe it was supposed to be %H:%M:%S?