Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-06-28 05:46:38

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Posted format

The code <txp:posted format="%B %Y" /> outputs:

JUNE 2024

But I would like to display it always in estonian language, how?

Offline

#2 2024-06-28 06:55:39

etc
Developer
Registered: 2010-11-11
Posts: 5,188
Website GitHub

Re: Posted format

You can try <txp:posted lang="et" format="%B %Y" />, but if your server does not support Estonian, this will not work. Date strings are not under txp responsibility, but etc_date might help in this case.

Offline

#3 2024-06-29 08:05:07

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: Posted format

looks like working… thank’s!

Offline

Board footer

Powered by FluxBB