cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Use local settings for non integer amounts (decimal point vs. decimal comma)

Open cloud2018 opened this issue 1 year ago • 2 comments

Description Use local settings for non integer amounts

Reproduction

  1. choose German settings
  2. choose an ingredient whose quantity is not an integer (e.g. 0.5)
  3. see a decimal point instead of a decimal comma

Expected behavior decimal comma instead of a decimal point

Screenshots nc_cb_03

Versions Nextcloud server version: 26.0.8 Cookbook version: 0.10.5

cloud2018 avatar Dec 14 '23 16:12 cloud2018

In recipes, fractions are usually used for the non-integer quantity, e.g. 1/2 tsp. The specification 0.5 tsp is rather uncommon. It would be nice if the automatic change from the input (e.g. 1/3) to 0.33 could be prevented by configuration.

cloud2018 avatar Dec 16 '23 15:12 cloud2018

In recipes, fractions are usually used for the non-integer quantity, e.g. 1/2 tsp. The specification 0.5 tsp is rather uncommon. It would be nice if the automatic change from the input (e.g. 1/3) to 0.33 could be prevented by configuration.

I created a separate issue for this.

christianlupus avatar Dec 17 '23 10:12 christianlupus