Epoch converter filter for Vue js
npm i vue2-epoch
https://www.npmjs.com/package/vue2-epoch
npm i vue2-epoch
import Vue from 'vue';
Vue.use(Vue2Epoch );
data: {
unixtime : 1553684014
}
{{ unixtime | epochToGMTDate }} => Wed, 27 Mar 2019 10:53:34 GMT
- epochToGMTDate
- epochToLocalDate
- dateStringToEpoch