Bug Fix for Date Time Parser.

Small fix after pull request #74.

A regex matching error was raised for negative dates in templates
- modified the regex
- added corresponding test