Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61535


Ignore:
Timestamp:
06/29/2024 04:41:11 AM (17 months ago)
Author:
wildworks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61535 – Description

    initial v1  
    1111As a result, relative times can be formatted differently depending on whether they're expressed in JS or PHP.
    1212
    13 One example is the Post Time block. If the post date is within an hour of the current time and relative format is enabled, it will be displayed as `1 minute`/`10 minutes` in the block editor and represented as `1 min` / `10 mins` on the frontend.
     13One example is the Post Date block. If the post date is within an hour of the current time and relative format is enabled, it will be displayed as `1 minute`/`10 minutes` in the block editor and represented as `1 min` / `10 mins` on the frontend.
    1414
    1515I suggest not using abbreviations in `human_time_diff()` functions.