code dump frontend

This commit is contained in:
wymiller committed 2024-12-02 18:29:45 -05:00
1 parent 44f1f35caa
commit 9e8cf4b147
19 files changed
+681 -184

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
export const convertUtc = (utcTimestamp: string): string => {
const utcTimeZone: string = Intl.DateTimeFormat().resolvedOptions().timeZone;
return new Date(utcTimestamp).toLocaleString("en-US", {
day: "numeric",
month: "numeric",
year: "numeric",
hour: "numeric",
minute: "numeric",
hourCycle: "h24",
timeZone: utcTimeZone,
});
};
const validateTime = (parsedUtcTimestamp: any) => {};