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

Parsing zero timestamp #127

Closed
rogerbinns opened this issue Nov 3, 2014 · 3 comments
Closed

Parsing zero timestamp #127

rogerbinns opened this issue Nov 3, 2014 · 3 comments

Comments

@rogerbinns
Copy link

WARNING: Could not parse DateTimeOriginal of /space/sigal/photos/gigs/cnc-get-married/DSCN4077.jpg: time data '0000:00:00 00:00:00' does not match format '%Y:%m:%d %H:%M:%S'

Note that technically the timestamp does exactly match the format but isn't a valid date. I'm guessing the camera (photo is over a decade old) put in all zeroes as an indication that it doesn't have a time. I suggest recognising the time as equivalent to not having a timestamp at all.

@saimn
Copy link
Owner

saimn commented Nov 23, 2014

Hi @rogerbinns ,

I suggest recognising the time as equivalent to not having a timestamp at all.

This is already the case, so if I understand correctly your issue is the logging message ?

@rogerbinns
Copy link
Author

Yes, the issue is the logging message. There is nothing I can do about this other than modifying the original exif data on the image which I'd rather not do. Also the message is printed every time I do an incremental build even though the affected files haven't changed.

@saimn
Copy link
Owner

saimn commented Dec 6, 2014

Ok, I decreased the logs level for this, as it is not crtitical.

@saimn saimn closed this as completed Dec 6, 2014
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