Can current version change the date format?

Continuing the discussion from Year format on abbreviated post dates not clear:

I agree with this thread as in the UK, this reads to me as 13th February 2016:

Can the administrator change it so that dates are shown in the full locale of the current user, 13/02/2013? Or 13th Feb 2013?

Yes, admins can change that.

7 curtidas

A postagem anterior está linkando para um tópico excluído. O conteúdo significativo da postagem vinculada é ir primeiro para sua página Admin / Personalizar / Texto e pesquisar por 'YY

Isso retornará a seguinte lista:

js.dates.tiny.date_year
MMM 'YY

js.dates.medium.date_year
MMM D, 'YY

js.dates.long_date_with_year
MMM D, 'YY LT

js.dates.long_date_with_year_without_time
MMM D, 'YY

js.dates.long_date_with_year_with_linebreak
MMM D, 'YY <br/>LT

Edite cada uma dessas entradas para substituir 'YY por YYYY para obter o ano completo.

5 curtidas

Obrigado! Existe documentação sobre qual biblioteca de formatação de data é usada? Seria útil saber quais tags de formato estão disponíveis (e é isso que eu estava procurando aqui).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.