Fixed Date Parsing Issue

Fixes #381
Minor code style tweaks

* Remove spurious empty lines
* Wrap lines at 100 chars