Add function for handling date strings in IE8
Merge pull request #406 from wch/date-ie8

Add function for handling date strings in IE8