date formatting vue code example
Example: vue datatable date format
<!--You should use a custom row cell :-->
<v-data-table :headers="headers" :items="logs">
<template v-slot:item.createdOn="{ item }">
<span>{{ new Date(item.createdOn).toLocaleString() }}</span>
</template>
</v-data-table>