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

Files going into NaN/NaN folder. #15

Open
jaikathuria opened this issue Feb 10, 2024 · 4 comments
Open

Files going into NaN/NaN folder. #15

jaikathuria opened this issue Feb 10, 2024 · 4 comments

Comments

@jaikathuria
Copy link

A lot of the files are going in NaN/NaN folder because of missing metadata.DateTimeOriginal?.year and metadata.DateTimeOriginal?.month

It's not even able to pick the right date and time from HTML as well.

@vikas5914
Copy link
Owner

Can you share the image that has the date but is going to the NaN folder? I will check them again,

@jaikathuria
Copy link
Author

jaikathuria commented Feb 10, 2024

https://photos.app.goo.gl/7pFyEtrYigivQSLb9

This is a WhatsApp downloaded image which eventually got uploaded to google photos

@jaikathuria
Copy link
Author

jaikathuria commented Feb 10, 2024

Figured out the issue. It was with the way we were parsing the date from the HTML.

@jaikathuria
Copy link
Author

jaikathuria commented Feb 10, 2024

Here is a small fix for the same.

fix: invalid date when parsing it from html

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

No branches or pull requests

2 participants