Skip to content

Commit

Permalink
if a tag has "subsec", assume it may be parsed by ExifDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Oct 11, 2023
1 parent 924e605 commit 40ca600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReadTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export class ReadTask extends ExifToolTask<Tags> {
: undefined

// Time-only tags have "time" but not "date" in their name:
const keyIncludesTime = /time/i.test(tagName)
const keyIncludesTime = /subsec|time/i.test(tagName)
const keyIncludesDate = /date/i.test(tagName)
const keyIncludesWhen = /when/i.test(tagName) // < ResourceEvent.When
const result =
Expand Down

0 comments on commit 40ca600

Please sign in to comment.