diff --git a/src/components/Tasks/Task.vue b/src/components/Tasks/Task.vue index 62fdbfa..ac1b9fe 100644 --- a/src/components/Tasks/Task.vue +++ b/src/components/Tasks/Task.vue @@ -33,7 +33,7 @@ - {{ task.dueDate }} + {{ task.dueDate | niceDate }} import { mapActions } from 'vuex' import editTask from 'components/Tasks/Modals/EditTask.vue' +import { date } from 'quasar' +const { formatDate } = date export default { name: 'Task', @@ -85,6 +87,11 @@ export default { showEditTask: false } }, + filters: { + niceDate (value) { + return formatDate(value, 'MMM D') + } + }, methods: { ...mapActions('tasks', ['updateTask', 'deleteTask']), promptToDelete (id) {