2017-03-18 09:21:18 +00:00
|
|
|
"use strict";
|
|
|
|
|
2017-04-29 10:31:04 +00:00
|
|
|
const moment = require("moment");
|
2016-03-11 20:14:15 +00:00
|
|
|
|
2017-04-29 10:31:04 +00:00
|
|
|
module.exports = function(time) {
|
|
|
|
return moment(time).format("HH:mm");
|
2016-12-18 15:53:28 +00:00
|
|
|
};
|