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

Another date format not covered by TryGetDateTime #284

Open
RealDolos opened this issue Apr 27, 2021 · 3 comments
Open

Another date format not covered by TryGetDateTime #284

RealDolos opened this issue Apr 27, 2021 · 3 comments

Comments

@RealDolos
Copy link

DirectoryExtensions.TryGetDateTime uses an exhaustive list of date formats to try when parsing Exif date-time strings.

I just stumbled upon a file containing the following date-time strings (as DateDigitized/DateOriginal): 2007/06/30 18:45:17
The data was probably produced by some device called 3MegaCam. Sounds like a cheap and very old digicam. ¯\(ツ)
This date-time format with slashes as delimiters for the date components is not covered by DirectoryExtensions.TryGetDateTime's current format list

@drewnoakes
Copy link
Owner

@RealDolos thanks for the report. Are you able to publicly share a file that contains this data? It would help ensure that any fix here is not regressed in future.

@RealDolos
Copy link
Author

RealDolos commented May 17, 2021

Are you able to publicly share a file that contains this data?

Not the original file, I could produce one that has the same exif dates in it....

@drewnoakes
Copy link
Owner

Sure, any image with this format would be helpful. Thanks.

You're welcome to submit a pull request that adds the date format too, if you'd like.

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