drewnoakes / metadata-extractor

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Apache License 2.0
2.56k stars 480 forks source link

strange EPOCH_1_JAN_1904 value #496

Closed choim4389 closed 4 years ago

choim4389 commented 4 years ago

why is EPOCH_1_JAN_1904 not -208284480000L but -2082844799175L?

drewnoakes commented 4 years ago

Can you explain why you think it should be a different value? Do you see a bug because of this?

choim4389 commented 4 years ago

@drewnoakes we've been using createdAt time to make uniqueId. the value from metadata-extractor is always end with 825, but the value from android media store is end with 000. so, the two different uid can be created from same file.

drewnoakes commented 4 years ago

Sounds reasonable. Can you make a pull request?

choim4389 commented 4 years ago

https://github.com/drewnoakes/metadata-extractor/pull/498