[wp-trac] [WordPress Trac] #49414: wp_read_image_metadata should look for timezone offset

WordPress Trac noreply at wordpress.org
Wed Feb 12 08:00:57 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:  Media         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list