import moment from 'moment' if (typeof window !== 'undefined') { window.moment = moment } export default () =>

Current time: {moment().format('LLL')}