[wp-trac] [WordPress Trac] #49413: wp_exif_date2ts should use Dateatime and accept an optional offset

WordPress Trac noreply at wordpress.org
Sat Feb 15 21:40:28 UTC 2020


#49413: wp_exif_date2ts should use Dateatime and accept an optional offset
--------------------------+------------------------------
 Reporter:  dshanske      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dshanske):

 Joy, this gets better. I just read about EXIF 2.32...we've been discussing
 2.31.

 http://www.cipa.jp/std/documents/download_e.html?DC-X010-2020

 If I'm reading this correctly, in 2.32, the
 DateTimeOriginal/DateTimeDigitized fields will be stored in ISO8601, as
 opposed to the EXIF format...so we may need to check the Exif Version,
 which deprecates all of the offset stuff I was talking about, and will
 break our existing code and my proposed amendment.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49413#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list