Remove date parsing because different browsers do different things

This commit is contained in:
Przemek Wiech
2020-02-14 14:35:01 +01:00
parent 8f310b97c4
commit 7eacf9216f

View File

@@ -16,10 +16,7 @@ function GedcomLink(props: {url: string; text: string}) {
} }
function formatBuildDate(dateString: string) { function formatBuildDate(dateString: string) {
return new Date(dateString) return dateString.slice(0, 16);
.toISOString()
.slice(0, 16)
.replace('T', ' ');
} }
/** The intro page. */ /** The intro page. */