Skip to content

Comments

Fix Datepicker locale#152

Open
mschreiber wants to merge 5 commits intoowntracks:mainfrom
mschreiber:main
Open

Fix Datepicker locale#152
mschreiber wants to merge 5 commits intoowntracks:mainfrom
mschreiber:main

Conversation

@mschreiber
Copy link
Contributor

Dynamically imports the required vue-datepicker locale bundles (e.g., 'de', 'fr', 'en') and assign it to the datepicker component "lang" property. Falls back to 'en' if the browser language is not supported.

<div class="nav-item">
<CalendarIcon size="1x" aria-hidden="true" role="img" />
<date-picker
v-if="datePickerLang"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unnecessary

Co-authored-by: Linus Groh <mail@linusgroh.de>
Copy link
Contributor Author

@mschreiber mschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review and the suggestions, which make sense!

Copy link
Member

@linusg linusg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM though I want to test this locally before merging :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants