nexxtway / react-rainbow

🌈 React Rainbow Components. Build your web application in a snap.

Home Page:https://react-rainbow.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

datetimepicker not showing german time

pullmann4rent opened this issue · comments

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"
          
            />

@pullmann4rent Yes you are right, this is a bug

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

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

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