[wp-trac] [WordPress Trac] #39222: Add JavaScript date helpers
WordPress Trac
noreply at wordpress.org
Sun May 14 10:05:38 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-docs has-unit-tests needs-patch | Focuses: rest-api
---------------------------------------------------+-----------------------
Changes (by ocean90):
* keywords: needs-docs has-unit-tests has-patch => needs-docs has-unit-
tests needs-patch
Comment:
[attachment:39222.3.diff]:
* I can't select a default value anymore, whatever I click only Custom
gets checked: https://cloudup.com/cVxrkkXR7kE
* `get_locale()` should be `get_user_locale()` because `$wp_locale` is
populated with the data of the user locale.
* `options.php` is still using `wp.date.date_i18n()`.
* It looks like the strings for `relativeTime` in `wp.date.setupLocale()`
aren't translatable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39222#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list