[wp-trac] [WordPress Trac] #39285: Date formatting shortcuts

WordPress Trac noreply at wordpress.org
Tue Jul 17 16:07:25 UTC 2018


#39285: Date formatting shortcuts
-------------------------------+------------------------------
 Reporter:  iseulde            |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Date/Time          |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by Rarst):

 I don't quite follow the suggested workflow. Would these formats be core
 (translatable) ''constants'' or ''options'' ?

 Also this seems like it would be very clunky to write in backwards
 compatible way if it introduces an new function.

 For admin workflows I would think, unless output is meant to be customized
 by user, it should just be ISO8601 based. Multiple formats multiplied by
 multiple locales might add up to a complete zoo of formats, with little
 clarity for developers which is preferable when.

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


More information about the wp-trac mailing list