Skip to content

Fixed parsing of illegal dates + handle known null value - #650

Merged
drewnoakes merged 1 commit into
drewnoakes:masterfrom
StefanOltmann:fix_date_parsing
Feb 4, 2024
Merged

Fixed parsing of illegal dates + handle known null value#650
drewnoakes merged 1 commit into
drewnoakes:masterfrom
StefanOltmann:fix_date_parsing

Conversation

@StefanOltmann

Copy link
Copy Markdown
Contributor

Fixes the problem that parsing a date like 0000:00:00 00:00:00 will become Sun Nov 30 00:00:00 GMT 2.

Resolves #609.

@drewnoakes drewnoakes left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks.

Running your branch over the regression test data doesn't show any difference. Is there an image that triggers this for you that we can add for testing? The content of the image is not important, just the metadata.

@drewnoakes
drewnoakes merged commit 753cf1f into drewnoakes:master Feb 4, 2024
@StefanOltmann
StefanOltmann deleted the fix_date_parsing branch February 4, 2024 07:07
@StefanOltmann

Copy link
Copy Markdown
Contributor Author

@drewnoakes Yes, I attached on the original issue a JPG test image you are free to use in your repository.

#609 (comment)

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

Successfully merging this pull request may close these issues.

EXIF DateTimeOriginal: Properly handle "0000:00:00 00:00:00"

2 participants