hardlounge/client/js/helpers/localetime.js

8 lines
142 B
JavaScript
Raw Normal View History

"use strict";
import dayjs from "dayjs";
2017-04-29 06:31:04 -04:00
export const localetime = function(time) {
return dayjs(time).format("D MMMM YYYY, HH:mm:ss");
2016-12-18 10:53:28 -05:00
};