Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-08 20:56:04

Sirannon
New Member
From: Earth.
Registered: 2006-03-08
Posts: 6

Permalink question:

Hi, I’m new to Textpattern.

How can I edit the post permalink to show not just the date, but the time as well, before the date (I’ve been a Blogspot Blogger, and have liked the time & date permalink used there)?

I found this reference in Textbook:

“Example 2: Display custom format date setting using strftime() format

<p>Posted: <txp:posted format="%b %d, %Y" /></p>

would result in:

<p>Posted: May 28, 2005</p>”

Is it possible to add in code for the specific time to be displayed, in addition to the date? Any help would be greatly appreciated. :)

(Edit: updated so your posted code would display correctly. :) -Mary)

Last edited by Mary (2006-03-08 20:58:26)

Offline

#2 2006-03-08 21:03:11

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Permalink question:

The page you mention gives you the answer you’re after:

Override default date format, as set in preferences. Available values: any valid strftime() string values, or since.

:)

Offline

#3 2006-03-10 17:52:02

Sirannon
New Member
From: Earth.
Registered: 2006-03-08
Posts: 6

Re: Permalink question:

Thank you! I figured it out. =)

Offline

Board footer

Powered by FluxBB