Automattic / liveblog

Liveblogging done right. Using WordPress.
https://wordpress.org/plugins/liveblog/
311 stars 122 forks source link

Entry time does not honour the site language #649

Open philipjohn opened 4 years ago

philipjohn commented 4 years ago

When a site uses a language other than English, the language used for the entry time (e.g. "X minutes ago" doesn't honour that setting and get translated accordingly.

To reproduce:

  1. On a site using Liveblog, set the language in Settings > General to something other than English
  2. View a Liveblog with entries and observe that the entry time still uses English:

Bildschirmfoto 2020-03-13 um 14 13 38

It looks like the relative time feature here is powered by Moment and called here and the moment docs have a section on i18n.