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

WordPress Trac noreply at wordpress.org
Wed Feb 12 11:58:07 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):

 Timezone offset aside, converting a time without a timezone to a timestamp
 is fraught with issues that we need to document, standardize and be
 consistent about. I think we might have been better off to store as an
 iso8601 date

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


More information about the wp-trac mailing list