hardlounge/client/js/helpers/localetime.js
Pavel Djundik 111c3665f9 Replace moment with dayjs
Drop in replacement, but smaller
2019-11-25 20:13:10 +02:00

8 lines
142 B
JavaScript

"use strict";
import dayjs from "dayjs";
export const localetime = function(time) {
return dayjs(time).format("D MMMM YYYY, HH:mm:ss");
};