Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: use notebook.dateCreated for date

thecodrr168e66563bf0
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={
<Flex justifyContent="center" alignItems="center">
- {new Date(notebook.id).toDateString().substring(4)}
+ {new Date(notebook.dateCreated).toDateString().substring(4)}
<Text as="span" mx={1}>
•
</Text>