bunch of bugfixes

This commit is contained in:
Olivier Gagnon
2021-11-11 19:56:09 -05:00
parent cf2efe7698
commit d91d7c564e
53 changed files with 345 additions and 316 deletions
+1
View File
@@ -1,6 +1,7 @@
import { format } from "date-fns";
export function formatTime(fmt: string): string {
if (fmt === "") return "format error";
try {
return format(new Date(), fmt);
} catch (err: any) {