patch for smart date handling
remove useless print
Merge pull request #1 from netik/smart_date_handling

patch for smart date handling