[wp-trac] [WordPress Trac] #49414: wp_read_image_metadata should look for timezone offset
WordPress Trac
noreply at wordpress.org
Wed Feb 12 12:28:00 UTC 2020
#49414: wp_read_image_metadata should look for timezone offset
--------------------------+------------------------------
Reporter: dshanske | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> Related: 49413
>
> This function should look for where cell phones and cameras store
> timezone offset data.
>
> Storing the time as a timestamp is a mistake as the time in exif data is
> minus the timezone and in whatever time the device was set to, it would
> have been better to store as a formatted time as converting to timezone
> means that everything is off.
>
> EXIF supports storing timezone offset in several places, if there we
> should use it, otherwise assume site timezone.
New description:
Related: #49413
This function should look for where cell phones and cameras store timezone
offset data.
Storing the time as a timestamp is a mistake as the time in exif data is
minus the timezone and in whatever time the device was set to, it would
have been better to store as a formatted time as converting to timezone
means that everything is off.
EXIF supports storing timezone offset in several places, if there we
should use it, otherwise assume site timezone.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49414#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list