From 5fd6f266535feb98d01dea67de7b4a2223fae635 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Thu, 22 May 2025 18:19:38 +0530 Subject: [PATCH] correct note added time --- src/components/Directory/NoteCardDirectory.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Directory/NoteCardDirectory.jsx b/src/components/Directory/NoteCardDirectory.jsx index a7020732..71ef9843 100644 --- a/src/components/Directory/NoteCardDirectory.jsx +++ b/src/components/Directory/NoteCardDirectory.jsx @@ -120,7 +120,11 @@ const NoteCardDirectory = ({ noteItem, contactId, setProfileContact }) => { {noteItem.createdBy.firstName} {noteItem.createdBy.lastName} - {moment(noteItem.createdAt).format("MMMM DD, YYYY [at] hh:mm A")} + {moment + .utc(noteItem.createdAt) + .add(5, "hours") + .add(30, "minutes") + .format("MMMM DD, YYYY [at] hh:mm A")}