From e6b07438d454fab0d1de58b90ce15fae2b17509c Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 4 Mar 2023 17:18:43 +0800 Subject: [PATCH] Changed date_created format to Date from String --- src/Components/Note/Note.tsx | 4 +++- src/Components/Notes/Notes.tsx | 2 +- src/Interfaces/Interfaces.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Components/Note/Note.tsx b/src/Components/Note/Note.tsx index bb2c6df..39685da 100644 --- a/src/Components/Note/Note.tsx +++ b/src/Components/Note/Note.tsx @@ -25,7 +25,9 @@ export default function Note(props: NoteProps) { value={props.content} /> -

Timestamp: {props.date_created}

+

+ Timestamp: {String(props.date_created)} +