Merge pull request #25 from gractwo/heisenberg

fix issue#24 by switching datestring from DMY/MDY formats to YMD
This commit is contained in:
2022-09-16 10:03:40 +02:00
committed by GitHub

View File

@@ -39,7 +39,8 @@ export default function Home() {
<a className="days">
<h1>
{Math.floor(
(Date.now() - new Date("06.07.2020").getTime()) / 86400000
// (Date.now() - new Date("06.07.2020").getTime()) / 86400000
(Date.now() - new Date("2020-07-06").getTime()) / 86400000
)}{" "}
dni
</h1>