[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 20:11:02 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):
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49413#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list