diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index 5b05957bb..4f3ee6fa6 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -23,6 +23,9 @@ describe('ContributionForm', () => { creation: ['1000', '1000', '1000'], }, }, + $i18n: { + locale: 'en', + }, } const Wrapper = () => { diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 1c98dfd98..f345ffff4 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -18,6 +18,7 @@ id="contribution-date" v-model="form.date" size="lg" + :locale="$i18n.locale" :max="maximalDate" :min="minimalDate" class="mb-4" @@ -168,3 +169,8 @@ export default { }, } + diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js index d834ddac1..deccabbb1 100644 --- a/frontend/src/pages/Community.spec.js +++ b/frontend/src/pages/Community.spec.js @@ -26,6 +26,9 @@ describe('Community', () => { creation: ['1000', '1000', '1000'], }, }, + $i18n: { + locale: 'en', + }, } const Wrapper = () => {