Revert "bunch of bugfixes"

This commit is contained in:
hydroflame
2021-11-11 20:06:05 -05:00
committed by GitHub
parent 22b915ad57
commit 70ffe25bb4
53 changed files with 316 additions and 345 deletions
-1
View File
@@ -1,7 +1,6 @@
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) {