diff --git a/src/web/src/utils/formatDate.ts b/src/web/src/utils/formatDate.ts new file mode 100644 index 0000000..e0d3eba --- /dev/null +++ b/src/web/src/utils/formatDate.ts @@ -0,0 +1,3 @@ +import dayjs from "dayjs"; + +export const formatDate = (value: string) => value && dayjs(value).format("L");