fix date parsing for 1-12 hour formats
closes #472