Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetimepicker not showing german time #2611

Open
pullmann4rent opened this issue Apr 12, 2023 · 4 comments
Open

datetimepicker not showing german time #2611

pullmann4rent opened this issue Apr 12, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@pullmann4rent
Copy link

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 pullmann4rent added the bug Something isn't working label Apr 12, 2023
@LeandroTorresSicilia
Copy link
Member

@pullmann4rent Yes you are right, this is a bug

@LeandroTorresSicilia
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants