Currently cant hadnle following timeformat from host jira:
2019-03-05 10:04:19,594:GetInfo.py:INFO:EXPIRATION DATE:25.10.2020
Traceback (most recent call last):
File "GetInfo.py", line 332, in
main(sys.argv[1:])
File "GetInfo.py", line 115, in main
GetStepInfo(jira,JIRASERVICE,user,PASSWORD,DEBUG,logger,THRDAYS,DEVDEBUG)
File "GetInfo.py", line 236, in GetStepInfo
Converdate = datetime.datetime.strptime(ExpDate, '%d/%b/%y')
File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime
(data_string, format))
ValueError: time data '25.10.2020' does not match format '%d/%b/%y'
Currently cant hadnle following timeformat from host jira:
2019-03-05 10:04:19,594:GetInfo.py:INFO:EXPIRATION DATE:25.10.2020 Traceback (most recent call last): File "GetInfo.py", line 332, in
main(sys.argv[1:])
File "GetInfo.py", line 115, in main
GetStepInfo(jira,JIRASERVICE,user,PASSWORD,DEBUG,logger,THRDAYS,DEVDEBUG)
File "GetInfo.py", line 236, in GetStepInfo Converdate = datetime.datetime.strptime(ExpDate, '%d/%b/%y') File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data '25.10.2020' does not match format '%d/%b/%y'