tweaking datetime parsing