79778825

Date: 2025-09-30 07:34:04
Score: 0.5
Natty:
Report link

Rather old question but I recently had the same problem and found this easy solution using dateutil:

import dateutil
for datestr in ("Nov 10  2014","Nov 18 15:12"):
    print(dateutil.parser.parse(datestr))

returns:

2014-11-10 00:00:00
2025-11-18 15:12:00
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ludwig