[issue33941] datetime.strptime not able to recognize invalid date formats

2018-06-22 Thread Raghunath Lingutla
New submission from Raghunath Lingutla : Can not recognize invalid date values for %Y%m%d, %y%m%d, %Y%m%d %H:%M and few more formats. In Java we have setLenient option which help us to validate to pattern and convert only valid formats Ex: datetime.strptime('181223', '%Y%m%d') For above

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

2018-06-22 Thread Raghunath Lingutla
New submission from Raghunath Lingutla : Python3.6 module datetime.strptime didn't have directive to convert date values having Era designator (AD or BC) and time zone (Ex: EST, PST, -07:00) Below are few example for date values which are not supported 2018-04-14 12:08:56 EST 2018-05-23 11