Visual bug in Time mode when the system language used doesn't have AM and PM as default.
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- javascript, react-native
- Domínio
- mobile
Direção de pesquisa
Start by tracing the Windows implementation of RNDateTimePicker in time mode and how it handles the is24Hour prop and localized AM/PM labels. Reproduce with Portuguese Windows regional settings using the supplied sample; done when the picker displays the expected 24-hour format or AM/PM labels without empty or dotted markers.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Bug report
When the system language of the device used does not have AM and PM as the Time default (in my case, the windows are in Portuguese), the visual part is broken, showing empty for AM and a dot " . " for PM.
Reproducible sample code
<RNDateTimePicker mode="time" is24Hour={true} />
Steps to reproduce
- Change windows language to portuguese.
- launch the app with com RNDateTimePicker in Time Mode.
- Open the choose time window to see the visual bug.
Describe what you expected to happen:
It should show AM and PM when the windows language doesn't have AM and PM as default or even with the parameter is24Hour assigned as "true" it should show the default of 24h.
Environment info
System: Windows 10 (Version: 22H2 OS-Build: 19045.3086)
RN-DateTimePicker Version: "7.1.0"
- Linguagem predominante
- JavaScript
- Estrelas
- 2.9k
- Forks
- 459
- Merge médio
- 4d 16h
- PRs com merge (30d)
- 5
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de react-native-datetimepicker/datetimepicker
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 58/100
react-native-datetimepicker/datetimepicker#1070 · 1 comentário ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
-
DateTimePickerAndroid.open() throws "Cannot read property" error on RN 0.78.3 new architectureAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
react-native-datetimepicker/datetimepicker#1047 · 6 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
react-native-datetimepicker/datetimepicker#1046 · 1 comentário ·
Todas as issues de react-native-datetimepicker/datetimepicker
Issues semelhantes
-
stringify escapes leading digits in pseudo-class arguments (:nth-child(1) becomes :nth-child(\31 ))Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
digitalbazaar/forge#1170 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
getgrav/grav-plugin-form#664 ·
-
bug web-ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
jenkinsci/jenkins#27705 · 3 comentários ·
Mantenedores costumam responder em até 1 dia