Skip to content

Commit

Permalink
fix: use / as separator for the date
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev authored Sep 10, 2023
1 parent 74be163 commit bde822a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InputPlaceholder.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit bde822a

Please sign in to comment.