Add date pattern
Add boolean flag for -p to fix issue under Windows
Merge pull request #1 from DIDoS/master

Minor improvements and a windows fix