nexxtway / react-rainbow

🌈 React Rainbow Components. Build your web application in a snap.
https://react-rainbow.io
MIT License
1.79k stars 112 forks source link

datetimepicker not showing german time #2611

Open pullmann4rent opened 1 year ago

pullmann4rent commented 1 year ago

Hello, I use this: https://react-rainbow.io/#/DateTimePicker

but when I set locale to "de-DE" then in time is AM/PM and not in german. Is this a bug ?

            <DateTimePicker
                id="datetimepicker-1"
                label="DateTimePicker label"
                value={new Date('2019-10-25 10:44')}

                formatStyle="large"
                locale="de-DE"

            />
LeandroTorresSicilia commented 1 year ago

@pullmann4rent Yes you are right, this is a bug

LeandroTorresSicilia commented 1 year ago

but if you want to remove the AM/PM you can use hour24 prop to true and then the time will be based 24 hours and then it will not show AM/PM

pullmann4rent commented 1 year ago

but if you want to remove the AM/PM you can use hour24 prop to true and then the time will be based 24 hours and then it will not show AM/PM

thanks!! but one problem why my datetimepicker looks so wired and unclean ?

creepy

LeandroTorresSicilia commented 1 year ago

@pullmann4rent this is broken, what browser and OS are you using?