adrianhajdin / project_mern_memories

This is a code repository for the corresponding video tutorial. Using React, Node.js, Express & MongoDB you'll learn how to build a Full Stack MERN Application - from start to finish. The App is called "Memories" and it is a simple social media app that allows users to post interesting events that happened in their lives.
https://youtube.com/playlist?list=PL6QREj8te1P7VSwhrMf3D3Xt4V6_SRkhu
4.95k stars 1.83k forks source link

Memory timing issue #202

Open reachAnushaKondam opened 1 week ago

reachAnushaKondam commented 1 week ago

fixes: #200 Issue: When new memories are created, the dates are incorrectly set to a past date, leading to inconsistencies in the database records.

Solution: Updated the memory creation logic to ensure that the current date and time are correctly recorded when new memories are created. This change ensures that all new memories have accurate timestamps, reflecting the exact moment of their creation.

reachAnushaKondam commented 5 days ago

@adrianhajdin

could you please review this PR and issue?