[wp-trac] [WordPress Trac] #48740: Add constant for database date format

WordPress Trac noreply at wordpress.org
Wed Nov 20 14:18:41 UTC 2019


#48740: Add constant for database date format
--------------------------------------+------------------------------
 Reporter:  Rarst                     |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Date/Time                 |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:
--------------------------------------+------------------------------

Comment (by Rarst):

 Thanks for feedback, clicked through the references. Don't want to get the
 name too long probably.

 Since DATETIME is upstream in ANSI SQL, perhaps `WP_DATE_SQL_DATETIME`.

 I don't think there is a strong case constants that aren't used by core
 code/schema.

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


More information about the wp-trac mailing list