mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-21 06:55:12 +02:00
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
4 lines
113 B
TypeScript
4 lines
113 B
TypeScript
import dayjs from "dayjs";
|
|
|
|
export default (time: Date | number) => dayjs(time).format("D MMMM YYYY, HH:mm:ss");
|