correct note added time

This commit is contained in:
Pramod Mahajan 2025-05-22 18:19:38 +05:30
parent e372405ac0
commit 10e38353aa

View File

@ -120,7 +120,11 @@ const NoteCardDirectory = ({ noteItem, contactId, setProfileContact }) => {
{noteItem.createdBy.firstName} {noteItem.createdBy.lastName}
</span>
<span className="text-muted" style={{ fontSize: "10px" }}>
{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")}
</span>
</div>
</div>