From 6de344c7a365c956fde4df0fd83db44f8896ffb8 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 31c98d852..d0d42ac03 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) {