mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
Revert "bunch of bugfixes"
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user