Skip to content

Commit

Permalink
Interpret QuickTime metadata dates
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksadowski committed Nov 11, 2020
1 parent 994bf74 commit 1f0f0e9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public QuickTimeMetadataHeaderDescriptor(QuickTimeMetadataHeaderDirectory direct
return tagType switch
{
QuickTimeMetadataHeaderDirectory.TagArtwork => GetArtworkDescription(),
QuickTimeMetadataHeaderDirectory.TagCreationDate => Directory.GetDateTime(tagType).ToString("yyyy:MM:dd HH:mm:ss"),
QuickTimeMetadataHeaderDirectory.TagLocationDate => Directory.GetDateTime(tagType).ToString("yyyy:MM:dd HH:mm:ss"),
QuickTimeMetadataHeaderDirectory.TagLocationRole => GetLocationRoleDescription(),
_ => base.GetDescription(tagType)
};
Expand Down

0 comments on commit 1f0f0e9

Please sign in to comment.