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

fix(dashboard): Make sure fallback locale en also recognized by weather_status for F vs C usage #49986

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

joshtrichards
Copy link
Member

Summary

This should fix #23486. We use en as the fallback locale in numerous places. Since the underlying cause for this bug only occurs when the fallback is being relied upon seems to makes sense to include it here. Alternative would be to change the fallback locale to something like en_US across our code base, but that seems both overly drastic and unnecessary.

Refs: #23486 (comment)

TODO

  • ...

Checklist

@joshtrichards joshtrichards added bug 3. to review Waiting for reviews papercut Annoying recurring issue with possibly simple fix. feature: dashboard labels Dec 28, 2024
@joshtrichards joshtrichards added this to the Nextcloud 31 milestone Dec 28, 2024
@joshtrichards joshtrichards changed the title fix(dashboard): Make sure fallback locale en also uses F fix(dashboard): Make sure fallback locale en also recognized by weather_status to F vs C usage Dec 28, 2024
@joshtrichards joshtrichards changed the title fix(dashboard): Make sure fallback locale en also recognized by weather_status to F vs C usage fix(dashboard): Make sure fallback locale en also recognized by weather_status for F vs C usage Dec 28, 2024
@joshtrichards joshtrichards requested review from a team, nfebe, skjnldsv and Pytal and removed request for a team December 28, 2024 16:39
@joshtrichards
Copy link
Member Author

/compile /

Signed-off-by: nextcloud-command <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: dashboard papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit for temperature in dashboard weather widget is always Celsius
2 participants