[wp-trac] [WordPress Trac] #39222: Add JavaScript date helpers

WordPress Trac noreply at wordpress.org
Wed May 10 05:01:58 UTC 2017

#39222: Add JavaScript date helpers
 Reporter:  rmccue                               |       Owner:  rmccue
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.8
Component:  Date/Time                            |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests needs-docs needs-   |     Focuses:  rest-api
  patch                                          |
Changes (by rmccue):

 * keywords:  has-patch needs-unit-tests needs-docs => needs-unit-tests
     needs-docs needs-patch


 Replying to [comment:26 aduth]:
 > A small naming point: shouldn't the function names be camel-cased, i.e.
 `wp.date.dateI18n` instead of `wp.date.date_i18n`? Or if too awkward,
 maybe a different name?

 You're totally right, I totally forgot about that. :) This needs to be
 fixed up in the patch.

 @timmydcrawford Tests would be fantastic. I have no experience with QUnit
 personally, so I didn't touch it here; if you want to help out there,
 please do!

Ticket URL: <https://core.trac.wordpress.org/ticket/39222#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list