Topic: Vue.JS DateTimePicker Localisation
Ehret
priority
asked 2 weeks ago
is there any possiblity to add localisation to the datetimepicker component? There is localissation for the datepicker which is used by datetimepicker. But as far as I see there is no possibility to add this to datetimepicker because this component does not pass it to the datepicker und timepicker component!?
Bartosz Cylwik
staff
answered 2 weeks ago
Hi, if by localisation you mean translations like in this example https://mdbootstrap.com/docs/vue/forms/datepicker/#section-translations
then you can try passing necessary options via datepicker (and timepicker for timepickers) props. Those props take objects with properties names
https://mdbootstrap.com/docs/vue/forms/datetimepicker/#docsTabsAPI.
Let me know if that works for you.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 7.0.0
- Device: MacBook Pro
- Browser: Chrome
- OS: macOS
- Provided sample code: No
- Provided link: No