Hacker News new | ask | show | jobs
by memco 1306 days ago
Much more robust than my approach of throwing a common set of formats at a string and every substring thereof until I get a datetime object back or the substring is too short to produce a usable date.