From 7eacf9216f5d76f795b4f89359154790d4b05597 Mon Sep 17 00:00:00 2001 From: Przemek Wiech Date: Fri, 14 Feb 2020 14:35:01 +0100 Subject: [PATCH] Remove date parsing because different browsers do different things --- src/intro.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/intro.tsx b/src/intro.tsx index 597def5..0bbfcf5 100644 --- a/src/intro.tsx +++ b/src/intro.tsx @@ -16,10 +16,7 @@ function GedcomLink(props: {url: string; text: string}) { } function formatBuildDate(dateString: string) { - return new Date(dateString) - .toISOString() - .slice(0, 16) - .replace('T', ' '); + return dateString.slice(0, 16); } /** The intro page. */