i'm passing a string to a function of mine which needs to turn the string into a date. The string is created by "the user" so it could be anything like:
5p - which means 5pm today (or tomorrow if it's after 5pm), 5:00 - which would mean the next 5 (am or pm). tuesday 5pm - etc
I am aware of the fact that there are certain python modules (partially) acchieving what I am looking for, but I would like to be able to extend these solutions to supply new date formats into my parsing engine.
Is there any library that gets close to this?