|Summary:||File.lastmodified not available on iOS when choosing an image|
|Component:||WebKit Misc.||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Major||CC:||akeerthi, bfulgham, cdumez, sabouhallawa, webkit-bug-importer|
|Hardware:||iPhone / iPad|
Description s7g2vp2 2021-11-01 04:16:24 PDT
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.
Comment 1 Alexey Proskuryakov 2021-11-01 09:03:03 PDT
To clarify, would your prefer the behavior where it provides the time from file system, or from EXIF?
Comment 2 s7g2vp2 2021-11-01 10:13:03 PDT
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.