You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is realy a bug, some items add kcal some kj. I have investigated the openfood api and we can filter out the kcal numbers to compute right. I think it musst be here :
the _json.nutriments.energy_value to not contain kcal consistently so we can use energy-kcal , energy-kcal_100g that holds the needed kcal value. but i do not know right now how to extract it from _json.nutriments.
The recommended calories seem to be calculated in kcal but the calories given for a scanned foot item (Fritz-Kola EAN 4260107220015) seem to be in kJ.
How it is:
What I wish for:
The text was updated successfully, but these errors were encountered: