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

Validate dates #24

Open
ajijohn opened this issue Jul 3, 2019 · 0 comments
Open

Validate dates #24

ajijohn opened this issue Jul 3, 2019 · 0 comments
Assignees

Comments

@ajijohn
Copy link
Owner

ajijohn commented Jul 3, 2019

Traceback (most recent call last):
File "monitor.py", line 314, in
s.run()
File "/usr/lib/python3.4/sched.py", line 151, in run
action(*argument, **kwargs)
File "monitor.py", line 96, in check_new
fromdate = datetime.strptime(request_lkup['startdate'], '%Y%m%d')
File "/usr/lib/python3.4/_strptime.py", line 500, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/usr/lib/python3.4/_strptime.py", line 337, in _strptime
(data_string, format))
ValueError: time data '199401' does not match format '%Y%m%d'

@ajijohn ajijohn self-assigned this Jul 3, 2019
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