mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-17 04:55:07 +02:00
dd05ee3a65
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");
|