A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix est/edt timezone test (#7043)
Shahmir Varqha792cd274e0bf
diff --git a/frontend/src/utils/__tests__/dates.test.ts b/frontend/src/utils/__tests__/dates.test.tsindex 0a976a58a5..7f00d42d60 100644--- a/frontend/src/utils/__tests__/dates.test.ts+++ b/frontend/src/utils/__tests__/dates.test.ts@@ -130,16 +130,18 @@ describe("dates", () => {it("formats date in America/New_York timezone", () => {const date = new Date("2023-05-15T12:00:00.000Z");- expect(exactDateTime(date, "America/New_York", locale)).toBe(+ expect(exactDateTime(date, "America/New_York", locale)).toBeOneOf(["2023-05-15 08:00:00 EDT",- );+ "2023-05-15 08:00:00 EST",+ ]);});it("formats date with milliseconds in America/New_York timezone", () => {const date = new Date("2023-05-15T12:00:00.123Z");- expect(exactDateTime(date, "America/New_York", locale)).toBe(+ expect(exactDateTime(date, "America/New_York", locale)).toBeOneOf(["2023-05-15 08:00:00.123 EDT",- );+ "2023-05-15 08:00:00.123 EST",+ ]);});});