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