[wp-trac] [WordPress Trac] #37411: Add more formats to wp_maybe_decline_date()

WordPress Trac noreply at wordpress.org
Tue Jul 19 15:28:49 UTC 2016


#37411: Add more formats to wp_maybe_decline_date()
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Date/Time       |    Version:  4.4
 Severity:  normal          |   Keywords:  has-patch needs-unit-tests
  Focuses:                  |
----------------------------+----------------------------------------
 In some themes, date format is not localized (see an
 [https://themes.trac.wordpress.org/browser/sadakalo/1.7.0/content.php?marks=13#L9
 example] in Sadakalo theme).

 Formats like `'F jS Y'` don't make a lot of sense for languages with
 declensions, which generally use `'j F Y'` (where F requires declension).

 We could improve the situation by adding more formats to
 `wp_maybe_decline_date()` introduced in #11226.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37411>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list