solving date issues, chrome seems to be more flexible than the actual spec with its constructor