WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49413, comment 10


Ignore:
Timestamp:
02/15/2020 08:50:40 PM (10 months ago)
Author:
dshanske
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49413, comment 10

    initial v1  
    1 I've given some thought to my proposal. I'd like to propose introducing a wp_exif_datetime function, which seems consistent with the changes in the other time retrieval functions, and this can replace the usage of strtotime inside this function.
    2 
     1I've given some thought to my proposal. I'd like to propose introducing a wp_exif_datetime function, which seems consistent with the changes in the other time retrieval functions, and this can replace the usage of strtotime inside this function. DateTime actually accepts EXIF formatted dates without any of the special parsing we do now.