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

WordPress Trac noreply at wordpress.org
Mon Aug 26 12:06:04 UTC 2019


#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 2nd-opinion  |     Focuses:
-------------------------------------------+------------------------------
Changes (by Rarst):

 * keywords:  reporter-feedback => reporter-feedback 2nd-opinion


Comment:

 I went over original ticket again and while it makes sense to me there are
 too many unknowns for implementation at the moment.

 If someone is interested in advancing this, I think spec needs to be
 worked out, including answering following questions:

 1. Which specific formats need to be included in set?
 2. Do other languages might need ''more'' formats than English available?
 3. Does this need to be exposed as settings in interface?
 4. Does this need to be exposed as filterable?
 5. How does distinction between formats are documented and explained to
 developers for implementation?

 I feel the main challenge here is disconnect between generic label like
 `full-date` and intended usage of it and different locales possibly
 expecting different output for a context.

 For example the original post includes day of the week. Is it equally
 important in all contexts where date might be used? Is date of the week
 equally common as part of the date across all language? Should the
 localization include all parts of original format or try to satisfy the
 semantic context of label?

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


More information about the wp-trac mailing list