ember-power-datepicker
ember-power-datepicker copied to clipboard
Unable to pass locale
trafficstars
Passing locale doesn't seem to do anything to the calendar. I double checked that the parent component is setting locale to 'es', but the resulting calendar stays in english.
{{#power-datepicker
horizontalPosition="right"
selected=selected
locale=locale
onSelect=(action 'onSelect')
as |dp|}}
{{#dp.trigger tabindex="-1"}}
<input type="text" class="my-input-class" readonly value={{dateText}}>
{{fa-icon 'caret-down'}}
{{/dp.trigger}}
{{#dp.content class="datepicker-small datepicker-right"}}
{{dp.nav}}
{{dp.days maxDate=maxDate}}
{{/dp.content}}
{{/power-datepicker}}
I'm having the same issue. Did you manage to solve it?
@raphpap are you on the latest version?