Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
slavoglinsky
· 4y ago · 0 comments
This looks great. The base ctparse lib looks also capable.
Comments
[–]
memco
4y 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.