From 8151da6b6ae6dc74db50aa1778e5ff0423f3cffa Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 13 Jun 2023 17:16:10 -0700 Subject: [PATCH] fix: :adhesive_bandage: YYYYMMDD with dashes --- packages/client/src/components/MkDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/MkDialog.vue b/packages/client/src/components/MkDialog.vue index 31c98d8520..d0d42ac037 100644 --- a/packages/client/src/components/MkDialog.vue +++ b/packages/client/src/components/MkDialog.vue @@ -290,7 +290,7 @@ function formatDateToYYYYMMDD(date) { const year = date.getFullYear(); const month = ("0" + (date.getMonth() + 1)).slice(-2); const day = ("0" + date.getDate()).slice(-2); - return `${year}${month}${day}`; + return `${year}-${month}-${day}`; } async function openSearchFilters(ev) {