-
Notifications
You must be signed in to change notification settings - Fork 151
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
feat: add pt-BR hour format #984
feat: add pt-BR hour format #984
Conversation
Signed-off-by: Caroline Lucas Calheirani <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #984 +/- ##
==========================================
+ Coverage 59.24% 59.26% +0.01%
==========================================
Files 176 176
Lines 5084 5086 +2
Branches 1451 1452 +1
==========================================
+ Hits 3012 3014 +2
Misses 2046 2046
Partials 26 26
|
Wouldn't it be better if this format be a i18n key? Many apps that support pt-BR uses 12 hour format, so 24 hours is not a strict rule. Checking device's configuration would be nice (https://github.com/steffenagger/react-native-device-time-format) |
@CarolineLCa can you implement the above as an alternative to this change? |
I have checked this dependence and tried to implement it, but |
Gonna open an issue for that. It'll need a lot of refactoring indeed, but it would be great to have the time format matching the device's format. |
Opened the issue #986 for that. |
Summary of Changes
Adding pt-BR format hour (24h) when this language is selected.
Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.
Signed-off-by
line (we use the DCO GitHub app to enforce this);If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓
PR template adapted from the Python attrs project.