{"ScriptPreparationCode":"window.__dateISO__ = \u00272021-09-24T07:36:51\u002B0000\u0027\r\nwindow.__date__ = new Date(__dateISO__);\r\nwindow.__expected__ = \u002709/24/2021\u0027;\r\nwindow.__intlFormatter = new Intl.DateTimeFormat(\u0027en\u0027, {\r\n year: \u00272-digit\u0027,\r\n month: \u00272-digit\u0027,\r\n day: \u00272-digit\u0027,\r\n});","TestCases":[{"Name":"moment/luxon - format","Code":"var actual = luxon.DateTime.fromJSDate(__date__).toLocaleString();\r\nconsole.assert(actual === __expected__);","IsDeferred":false},{"Name":"Intl - format","Code":"var actual = window.__intlFormatter.format(__date__);\r\nconsole.assert(actual === __expected__);","IsDeferred":false},{"Name":"moment/luxon - parse","Code":"var actual = luxon.DateTime.fromISO(__dateISO__).toJSDate();\r\nconsole.assert(__date__.getTime() === actual.getTime());","IsDeferred":false},{"Name":"Native parse","Code":"var actual = new Date(__dateISO__);\r\nconsole.assert(__date__.getTime() === actual.getTime());","IsDeferred":false},{"Name":"date-fns (old) format","Code":"var actual = dateFns.format(__date__);\r\nconsole.assert(actual === __expected__);","IsDeferred":false},{"Name":"date-fns (old) parse","Code":"var actual = dateFns.parse(__dateISO__);\r\nconsole.assert(__date__.getTime() === actual.getTime());","IsDeferred":false}]}