WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
232561
File.lastmodified not available on iOS when choosing an image
https://bugs.webkit.org/show_bug.cgi?id=232561
Summary
File.lastmodified not available on iOS when choosing an image
s7g2vp2
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
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?
s7g2vp2
Comment 2
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.
Radar WebKit Bug Importer
Comment 3
2021-12-09 13:16:57 PST
<
rdar://problem/86287583
>
Brent Fulgham
Comment 4
2022-02-12 20:13:02 PST
This is actually: <
rdar://85146247
>
Jesper Bendtsen
Comment 5
2023-08-16 01:55:36 PDT
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
Aditya Keerthi
Comment 6
2023-08-16 22:17:10 PDT
(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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug