File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,8 @@ const emit = defineEmits<{
205205 (e : " duplicateCard" , cardId : string | undefined ): void ;
206206}>();
207207
208+ const { locale } = useI18n ();
209+
208210const globalSettingsStore = useSettingsStore ();
209211const themeStore = useThemeStore ();
210212
@@ -427,7 +429,7 @@ const getFormattedDueDate = computed(() => {
427429 }
428430 }
429431
430- return new Date (dueDate .value ).toLocaleDateString ();
432+ return new Date (dueDate .value ).toLocaleDateString (locale . value );
431433});
432434
433435const dueDateOverdue = computed (() => {
Original file line number Diff line number Diff line change @@ -550,6 +550,8 @@ const emit = defineEmits<{
550550 (e : " openTagEdit" ): void ;
551551}>();
552552
553+ const { locale } = useI18n ();
554+
553555const columnID = ref (" " );
554556const { textarea : titleTextArea, input : title } = useTextareaAutosize ();
555557const description = ref (" " );
@@ -776,9 +778,9 @@ const setCardColor = (
776778
777779const dateToLocalFormat = (date : Date | string ) => {
778780 if (typeof date === " string" ) {
779- return new Date (date ).toLocaleDateString ();
781+ return new Date (date ).toLocaleDateString (locale . value );
780782 }
781- return date .toLocaleDateString ();
783+ return date .toLocaleDateString (locale . value );
782784};
783785
784786watch (customColor , (newVal , oldVal ) => {
You can’t perform that action at this time.
0 commit comments