don't try to convert an empty string to date
Merge pull request #45 from Samnsparky/empty-string-check

don't try to convert an empty string to date