diff --git a/frontend/src/views/BhavCopy.vue b/frontend/src/views/BhavCopy.vue index e5b3f4c..e374df3 100644 --- a/frontend/src/views/BhavCopy.vue +++ b/frontend/src/views/BhavCopy.vue @@ -42,11 +42,10 @@ @@ -169,24 +168,14 @@ }, formatDate (date) { if (!date) return null - const [year, month, day] = date.split('-') - return `${month}/${day}/${year}` - }, - parseDate (date) { - if (!date) return null - - const [month, day, year] = date.split('/') - return `${year}-${month.padStart(2, '0')}-${day.padStart(2, '0')}` + return `${day}/${month}/${year}` }, }, computed: { headers() { return this.headersData }, - computedDateFormatted () { - return this.formatDate(this.date) - }, }, data() { return {