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

Add field "uploaded timestamp" for "raw" images #891

Closed
monsieurtanuki opened this issue Mar 12, 2024 · 0 comments · Fixed by #892
Closed

Add field "uploaded timestamp" for "raw" images #891

monsieurtanuki opened this issue Mar 12, 2024 · 0 comments · Fixed by #892
Assignees
Labels

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Mar 12, 2024

Why - Problem description

cf. #104 openfoodfacts/openfoodfacts-server#9226 openfoodfacts/smooth-app#4674
We need to know the uploaded timestamp of a raw image if we want to prevent the users from using it - or at least flag them - when outdated (e.g. 3 years old).

What - Proposed solution

There's already a uploaded_t field in the json we get, we just currently don't store it in ProductImage.raw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant