Hello,

I am using Rhino 5, and Rhino WIP applications shipped with IronPython 2.7.0 
and 2.7.5 version respectively.
I have an issue with time.strptime function.
The following code works perfectly on IronPython 2.7.0:
import timedate = "JAN/30/2017"date_timeStruct = time.strptime(date,"%m/%d/%Y")

Once IronPython 2.7.5 is installed, it fails with this error message on the 
third line:

Runtime error (ValueErrorException): time data does not match format
data=JAN/30/2017, fmt=%m/%d/%Y, to: M'/'d'/'yyyy


Is there a way of making the time.strptime function work on both 2.7.0 and 
2.7.5 versions?

I would appreciate any kind of reply.

Thank you in advance.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to