Improve the Date.parse overrides