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 adding task without deadline #10

Open
mikeshultz opened this issue Jan 8, 2017 · 0 comments
Open

Error adding task without deadline #10

mikeshultz opened this issue Jan 8, 2017 · 0 comments
Labels
Milestone

Comments

@mikeshultz
Copy link
Member

Traceback:
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/views/generic/base.py" in dispatch
  89.         return handler(request, *args, **kwargs)
File "./doto/views.py" in post
  93.                 deadline = datetime_to_iso(request.POST.get('deadline')),
File "./doto/utils.py" in datetime_to_iso
  49.         datetime.strptime(dt, '%Y-%m-%d')
File "/usr/local/lib/python3.4/_strptime.py" in _strptime_datetime
  507.     tt, fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.4/_strptime.py" in _strptime
  344.                          (data_string, format))

Exception Type: ValueError at /task/
Exception Value: time data '' does not match format '%Y-%m-%d'
@mikeshultz mikeshultz added the bug label Jan 8, 2017
@mikeshultz mikeshultz added this to the beta milestone Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant