When an picture is chosen via an input element on iOS, the File object lastmodified property is not available. It would be very useful if this was set to the date/time that the picture was taken.
To clarify, would your prefer the behavior where it provides the time from file system, or from EXIF?
I think setting it to the file system datetime of the original HEIC file would be best. If the picture was originally created on that device then I guess it would be very close to the EXIF date/time anyway. If bug 207088 was addressed then we would also have access to the EXIF metadata.
<rdar://problem/86287583>
This is actually: <rdar://85146247>
Any update on this? iOS 16.6: Current time is used instead of real lastModified date Test it here: https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified
(In reply to Jesper Bendtsen from comment #5) > Any update on this? > > iOS 16.6: Current time is used instead of real lastModified date > > Test it here: > https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified We believe this is resolved in the latest iOS 17 beta.