Added default date handiling
Merge pull request #1 from emson/date

Added default date handiling