From 168e66563bf06f1acbe321cc0252c86b4e85d58a Mon Sep 17 00:00:00 2001 From: thecodrr Date: Sat, 22 Feb 2020 14:38:52 +0500 Subject: [PATCH] fix: use notebook.dateCreated for date --- apps/web/src/components/notebook/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js index 84a4aafeb..b007fa23d 100644 --- a/apps/web/src/components/notebook/index.js +++ b/apps/web/src/components/notebook/index.js @@ -79,7 +79,7 @@ const Notebook = ({ item, index, onClick, onTopicClick }) => { } info={ - {new Date(notebook.id).toDateString().substring(4)} + {new Date(notebook.dateCreated).toDateString().substring(4)}