• It’s probably not a bug, but I was wondering why there is no year in the date before the latest posts in the Activity Widget in the Dashboard.
    Is there anything speaking against changing line 762 in the dashboard.php from
    $relative = date_i18n( __( 'M jS' ), $time );
    to
    $relative = date_i18n( __( 'D, d M Y' ), $time );
    It’s close to RFC2822 and I’m also wondering why this has to be in the *.po files for the translations, like this

    #: wp-admin/includes/dashboard.php:762
      msgid "M jS"
      msgstr "j M"

    I generally would prefer dates displayed everywhere in WordPress in the same Date Format, like it is set in the General Settings by the admin. The WordPress News Widget in the dashboard does use a different Date Format too. This just for consistency’s sake ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey transl8or,

    I think I’ve seen this question before…check out #30864 (Date format inconsistent across the admin). I think it’s relevant to your question, but it’s also tagged as a Future Release.

    Thread Starter transl8or

    (@transl8or)

    Hi schulte,
    thanks for that. The ticket is mostly about the inconsistent and especially about if the frontend date format should be the same as the admin/backend date format. As 4.3 is just around the corner it’s good you brought it up.
    Nevertheless I ask: Why no Y?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Space, probably.

    https://core.trac.www.ads-software.com/ticket/26502 is the relevant ticket, though.

    ETA: Since this isn’t a new alpha/beta issue, I’m moving the post out to general troubleshooting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing the 'year' in the Activity Widget in the Dashboard’ is closed to new replies.