{"ScriptPreparationCode":"dayjs.extend(window.dayjs_plugin_utc)\r\ndayjs.extend(window.dayjs_plugin_timezone)\r\n\r\nwindow.__date__ = \u00272024-05-30 08:33\u0027;\r\nwindow.__format__ = \u0027YYYY-MM-DD HH:mm\u0027;\r\nwindow.__timezone__ = \u0027Europe/Warsaw\u0027;\r\nwindow.__luxon__ = luxon;\r\nwindow.__dayjs__ = dayjs;","TestCases":[{"Name":"luxon","Code":"const current = __luxon__.DateTime.now().setZone(__timezone__);\r\nconst end = __luxon__.DateTime.fromFormat(__date__, \u0027yyyy-MM-dd HH:mm\u0027, { zone: __timezone__ });\r\nconst timeDiff = (time1, time2) =\u003E time1.valueOf() - time2.valueOf();\r\n\r\ntimeDiff(end, current.startOf(\u0027minute\u0027));","IsDeferred":false},{"Name":"dayjs","Code":"const current = __dayjs__().tz(__timezone__);\r\nconst end = __dayjs__.tz(__date__, \u0027YYYY-MM-DD HH:mm\u0027, __timezone__);\r\nend.diff(current);","IsDeferred":false}]}