Enhancement Request: Customizable Time Translation in ShowTimeSelect
Kanmuruuruu opened this issue · comments
Kanmuruuruu commented
I've noticed an issue within the react-datepicker package on GitHub.
When using ShowTimeSelect, there seems to be no straightforward way to customize the translation of "Time."
I've successfully implemented translations throughout the react-datepicker package, except for the 'Time' translation within the ShowTimeSelect feature.
Is it possible to consider adding this feature?
Hugo Burguete commented
You can use the property timeCaption
to change the "Time" wording. You find an example here:
<DatePicker
...
timeCaption="Hora"
/>