Skip to content

Validate dates #24

@ajijohn

Description

@ajijohn

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'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions