mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-03-11 01:53:46 +00:00
Remove date parsing because different browsers do different things
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user