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

WordPress Trac noreply at wordpress.org
Wed Jan 4 08:05:48 UTC 2017

#39222: Add JavaScript date helpers
 Reporter:  rmccue           |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  4.8
Component:  Date/Time        |     Version:  4.7
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  rest-api

Comment (by rmccue):

 Replying to [comment:4 nerrad]:
 > Would there be consideration given to using an existing js library for
 dealing with dates and times (formatting, localization etc).  moment.js
 (https://momentjs.com) seems to be a well known library in use.  I've used
 it in a number of projects and it makes datetimes in js less painful :)

 Moment is pretty great, but the things we need aren't fully handled by it.
 Primarily, localisation is something we want to handle ourselves, as is
 date formatting (from settings).

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

More information about the wp-trac mailing list