apps/meteor/client/views/omnichannel/realTimeMonitoring/charts/getMomentCurrentLabel.ts
import moment from 'moment';
export const getMomentCurrentLabel = (timestamp = Date.now()) => {
const m = moment(timestamp);
const n = moment(m).add(1, 'hours');
return `${m.format('hA')}-${n.format('hA')}`;
};