[huyh] Use Date.strptime for date parsing instead of regex

This replaces the complex regex based date parsing with a simpler
Date.strptime based one.
Add a spec to cover dates with whitespace