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

Interpret QuickTime metadata dates #275

Merged

Conversation

patricksadowski
Copy link
Contributor

Closes #257

Copy link
Owner

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this.

Comment on lines 17 to 18
QuickTimeMetadataHeaderDirectory.TagCreationDate => Directory.GetDateTime(tagType).ToString("yyyy:MM:dd HH:mm:ss"),
QuickTimeMetadataHeaderDirectory.TagLocationDate => Directory.GetDateTime(tagType).ToString("yyyy:MM:dd HH:mm:ss"),
Copy link
Owner

Choose a reason for hiding this comment

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

I think it's better to store DateTime in the QuickTimeMetadataHeaderDirectory rather than string. This allows the default logic to apply locale-specific formatting for dates.

@patricksadowski patricksadowski force-pushed the quicktime-metadata-dates branch from 1f0f0e9 to c610452 Compare November 12, 2020 07:56
@drewnoakes drewnoakes merged commit 00f2ac0 into drewnoakes:master Nov 12, 2020
@drewnoakes
Copy link
Owner

Thanks!

@patricksadowski patricksadowski deleted the quicktime-metadata-dates branch January 18, 2021 14:05
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.

Support for ISO8601 date time format in iPhone QuickTime files
2 participants