Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix(note): Add Note in good order

Anthony Rimet9436c1248f8e
diff --git a/src/notes/utils.ts b/src/notes/utils.ts
index 834d3eb3..a6e1fcf8 100644
--- a/src/notes/utils.ts
+++ b/src/notes/utils.ts
@@ -1,13 +1,9 @@
export const getCurrentDate = () => {
const now = new Date();
- now.setSeconds(0);
- now.setMilliseconds(0);
return now.toISOString();
};
export const formatNoteDate = (dateString: string) => {
const date = new Date(dateString);
- date.setSeconds(0);
- date.setMilliseconds(0);
return date.toISOString();
};