]> git.r.bdr.sh - rbdr/dasein/blame_incremental - app/filters/datetime.js
Merge branch 'release/1.0.0'
[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});