WordPress.org

Making WordPress.org

Changes between Version 1 and Version 2 of Ticket #1269, comment 11


Ignore:
Timestamp:
07/19/2017 08:42:36 PM (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1269, comment 11

    v1 v2  
    88Also, when JavaScript is disabled, it's hardcoded to use the `F j, Y` format, which is not suitable for languages with declensions (#WP11226). "Декабрь 6, 2015" is not correct Russian, "6 декабря 2015" is. That's why we generally use `d.m.Y` instead of `F j, Y`.
    99
    10 Ideally, I'd like to switch to `human_time_diff()`, as we did for plugin directory in #1270. But I guess that would be tricky, because it involves either adding a field in that format to the API or performing an additional request. Recreating the function in JavaScript doesn't seem feasible either, because we need `_n()` to work.
     10Ideally, I'd like to switch to `human_time_diff()`, like we did for plugin directory in #1270. But I guess that would be tricky, because it involves either adding a field in that format to the API or performing an additional request. Recreating the function in JavaScript doesn't seem feasible either, because we need `_n()` to work.
    1111
    1212Could we at least commit [attachment:meta-1269.2.patch] to benefit from [WP35517] when JS is disabled? :)