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

Comments

2 participants
@rogerbinns

rogerbinns commented Nov 3, 2014

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

This comment has been minimized.

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

This comment has been minimized.

rogerbinns commented Nov 24, 2014

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 added a commit that referenced this issue Dec 6, 2014

@saimn

This comment has been minimized.

Owner

saimn commented Dec 6, 2014

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

@saimn saimn closed this Dec 6, 2014

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