Textpattern

Return to main site

Related

Frequently Asked Questions

My dates look like 'Y m d'!

Q.

<txp:posted format="Y-m-d" /> doesn’t work!
My timestamp formats are broken after upgrading – they all show “Y-m-d”!

A.

The format characters changed around the RC3 release. The date() formats like ‘Y-m-d’ no longer work; they now use strftime() format characters instead.

The simplest fix is to go to textpattern > admin > preferences, select a new date format, and save the settings.

Posted 17 August 2005, 10:01 by Alex Shiels

---