nextcloud / nextcloud/cookbook
Use local settings for non integer amounts (decimal point vs. decimal comma)
Open
Nobody has claimed this yet.
bug
Frontend
- Dominant language
- HTML
- Stars
- 641
- Forks
- 113
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 26
Description
Description
Use local settings for non integer amounts
Reproduction
- choose German settings
- choose an ingredient whose quantity is not an integer (e.g. 0.5)
- see a decimal point instead of a decimal comma
Expected behavior
decimal comma instead of a decimal point
Screenshots
Versions
Nextcloud server version: 26.0.8
Cookbook version: 0.10.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with German settings and a recipe ingredient quantity such as 0.5, then trace where the quantity is rendered and how the locale is selected. Done means non-integer amounts use a decimal comma under German settings while other locale formatting remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100