thelounge/client/js/helpers/localetime.js

6 lines
113 B
JavaScript
Raw Normal View History

"use strict";
import dayjs from "dayjs";
2017-04-29 10:31:04 +00:00
2019-11-16 17:24:03 +00:00
export default (time) => dayjs(time).format("D MMMM YYYY, HH:mm:ss");