IE compat for date parser