IE11 Date.parse() is unable to parse string produced by Date.toLocaleDateString()

Fixed Issue #101495


Apr 27, 2014
This issue is public.
Found in build #
Fixed in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

URL = Date.parse(new Date(Date.parse(“4/16/2014”)).toLocaleDateString()) == Date.parse(“4/16/2014”)


Repro Steps:

put the following code into console:

Date.parse(new Date(Date.parse(“4/16/2014”)).toLocaleDateString()) == Date.parse(“4/16/2014”)

Expected Results:

Date.parse() would parse the output of Date.toLocaleDateString().

The following code would produce true:

Date.parse(new Date(Date.parse(“4/16/2014”)).toLocaleDateString()) == Date.parse(“4/16/2014”)

Actual Results:


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Assigned To from “IPBS P.” to “Bruce M.”

      Changed Assigned To to “Brian T.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Brian T.” to “Brahma G.”

      Changed Assigned To from “Brahma G.” to “Andrei B.”

      Changed Assigned To from “Andrei B.” to “IPBS P.”

      Changed Status from “Confirmed” to “Fixed”

      Changed Assigned To from “IPBS P.” to “Ritesh P.”

      Changed Assigned To from “Ritesh P.” to “Brian T.”

    • I’ve just run across this in edge and ie11 on windows 10.

      Date.parse(new Date(Date.parse(“4/16/2014”)).toLocaleDateString())

      is returning null in console.

    You need to sign in to your Microsoft account to add a comment.

    Sign in