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

Parse tablespoons in quantity field #2301

Open
teolemon opened this issue Sep 10, 2019 · 3 comments
Open

Parse tablespoons in quantity field #2301

teolemon opened this issue Sep 10, 2019 · 3 comments
Labels
✨ Feature Features or enhancements to Open Food Facts server portions ⚖️ Quantity serving size 🇺🇸 United States Project to improve support in the United States.
Projects

Comments

@teolemon
Copy link
Member

teolemon commented Sep 10, 2019

What

  • Parse tablespoons in quantity field
15 ml (1 Tbsp)
1 Tbsp
1 cuillerée (15 ml = 14g* ) (*Quantité recommandée par la C.E.)
Nutrition values per 14 gr.

Part of

@teolemon teolemon added 🐛 bug This is a bug, not a feature request. portions labels Sep 10, 2019
@teolemon
Copy link
Member Author

Probably also a job for Robotoff

@VaiTon
Copy link
Member

VaiTon commented Sep 10, 2019

The unit of measurement varies by region: a United States tablespoon is approximately 14.8 ml (0.50 US fl oz), a United Kingdom and Canadian tablespoon is exactly 15 ml (0.51 US fl oz),[2] and an Australian tablespoon is 20 ml (0.68 US fl oz).[3]
https://en.wikipedia.org/wiki/Tablespoon

What about countries outside U.E.?

@hangy
Copy link
Member

hangy commented Sep 11, 2019

The unit of measurement varies by region: a United States tablespoon is approximately 14.8 ml (0.50 US fl oz), a United Kingdom and Canadian tablespoon is exactly 15 ml (0.51 US fl oz),[2] and an Australian tablespoon is 20 ml (0.68 US fl oz).[3]
https://en.wikipedia.org/wiki/Tablespoon

What about countries outside U.E.?

We don't have any option to relate the unit of measurement to a locality. The difference between the US and UK/Canadian tablespoon might be negligible, but the Australian tablespoon is so far off, that nutrition value (if defined in tablespoons) would be massively skewed for usage in comparisons.

One option might be to ask users to use "US Tbsp" or "AUS Tbsp", but as we actually want users to add this information as it was printed on the packaging, that would be different to most other fields.

@hangy hangy added ✨ Feature Features or enhancements to Open Food Facts server and removed 🐛 bug This is a bug, not a feature request. labels Dec 12, 2019
@hangy hangy added this to To Do in Server via automation Dec 12, 2019
@teolemon teolemon changed the title Parse tablespoons Parse tablespoons in quantity field Jan 27, 2020
@CharlesNepote CharlesNepote added the 🇺🇸 United States Project to improve support in the United States. label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Features or enhancements to Open Food Facts server portions ⚖️ Quantity serving size 🇺🇸 United States Project to improve support in the United States.
Projects
Status: To discuss and validate
Server
  
To Do
Development

No branches or pull requests

4 participants