Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in date formatting #92

Open
nitzanm opened this issue Dec 9, 2011 · 0 comments
Open

Error in date formatting #92

nitzanm opened this issue Dec 9, 2011 · 0 comments

Comments

@nitzanm
Copy link

nitzanm commented Dec 9, 2011

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant