mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-07 08:00:54 +00:00
remove @ in format date
This commit is contained in:
@@ -3,7 +3,7 @@ import { Types } from "@monitor/client";
|
||||
export const fmt_date = (d: Date) => {
|
||||
const hours = d.getHours();
|
||||
const minutes = d.getMinutes();
|
||||
return `${fmt_month(d.getMonth())} ${d.getDate()} @ ${
|
||||
return `${fmt_month(d.getMonth())} ${d.getDate()} ${
|
||||
hours > 9 ? hours : "0" + hours
|
||||
}:${minutes > 9 ? minutes : "0" + minutes}`;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user