From 889333af680ff816d84ba5bf37164dbd89b63c51 Mon Sep 17 00:00:00 2001 From: mustafa60x Date: Wed, 26 Jun 2024 15:51:36 +0300 Subject: [PATCH] chore: Remove unused formatDate and formatCurrency functions --- .../doc/datatable/filter/BasicFilterDoc.vue | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/apps/showcase/doc/datatable/filter/BasicFilterDoc.vue b/apps/showcase/doc/datatable/filter/BasicFilterDoc.vue index 4ab3e0948..b90211a0b 100644 --- a/apps/showcase/doc/datatable/filter/BasicFilterDoc.vue +++ b/apps/showcase/doc/datatable/filter/BasicFilterDoc.vue @@ -313,16 +313,6 @@ export default { return d; }); }, - formatDate(value) { - return value.toLocaleDateString('en-US', { - day: '2-digit', - month: '2-digit', - year: 'numeric' - }); - }, - formatCurrency(value) { - return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' }); - }, getSeverity(status) { switch (status) { case 'unqualified': @@ -466,16 +456,6 @@ const getCustomers = (data) => { return d; }); }; -const formatDate = (value) => { - return value.toLocaleDateString('en-US', { - day: '2-digit', - month: '2-digit', - year: 'numeric' - }); -}; -const formatCurrency = (value) => { - return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' }); -}; const getSeverity = (status) => { switch (status) { case 'unqualified': @@ -534,16 +514,6 @@ const getSeverity = (status) => { return d; }); }, - formatDate(value) { - return value.toLocaleDateString('en-US', { - day: '2-digit', - month: '2-digit', - year: 'numeric' - }); - }, - formatCurrency(value) { - return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' }); - }, getSeverity(status) { switch (status) { case 'unqualified':