]> git.r.bdr.sh - rbdr/dasein/blob - app/filters/datetime.js
🔧 Update version in package.json
[rbdr/dasein] / app / filters / datetime.js
1 import Vue from 'vue';
2
3 const internals = {};
4
5 export default internals.DatetimeFilter = Vue.filter('datetime', (timestamp) => {
6
7 const date = new Date(parseInt(timestamp));
8
9 return date.toISOString();
10 });