Wrong Date object creation under emulating document mode.

By design Issue #1270258

Details

Created
Dec 23, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Open any website under Internet Explorer 10 or above on Windows 7 or higher.
  2. Open Developer console with F12.
  3. Leave browser mode by default, but change document mode to any emulating mode, for example Internet Explorer 7 Standards.
  4. Set windows timezone to (UTC+03:00) Volgograd, Moscow, Saint-Petersburg (TRZ 2).
  5. In Console Tab enter "new Date(2014,0,1)".
  6. Get “Tue Dec 31 23:00:00 UTC+0300 2013” against expected “Wed Jan 1 00:00:00 UTC+0400 2014”

Expected Results:

Dates must be equal in all browsers and documents modes.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Gaurav S.”

      Changed Assigned To from “Gaurav S.” to “IE F.”

      Changed Status to “By design”

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

    Sign in