From bde822a3ba82b5037de8512f021c9cb1c9c81ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Jim=C3=A9nez?= Date: Sun, 10 Sep 2023 18:17:26 +0200 Subject: [PATCH] fix: use / as separator for the date --- src/components/InputPlaceholder.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/InputPlaceholder.tsx b/src/components/InputPlaceholder.tsx index a60cd82..3185040 100644 --- a/src/components/InputPlaceholder.tsx +++ b/src/components/InputPlaceholder.tsx @@ -1,7 +1,7 @@ import Textra from "react-textra"; import styles from "./console.module.css"; -const dateAsSum = new Date().toLocaleDateString().split("/").join("+"); +const dateAsSum = new Date().toLocaleDateString(); const placeHolderContents = [ dateAsSum,