I have a content type... with a CCK Date field. I am trying to custom format it without changing the default (Long, Medium, Short) date formats.

If I [node:field-jcqotw-date:custom:l] it shows the day (ex: Sunday).
If I [node:field-jcqotw-date:custom:lF] it shows the dayMonth (ex: SundayJune).
If I [node:field-jcqotw-date:custom:l F] it shows "[node:field-jcqotw-date:custom:l F]" (ex: SundayJune).
If I [node:field-jcqotw-date:custom:l F] it shows "Sunday June" (ex: SundayJune).

I've tried "l F", 'l F', l\ F,   (non breaking space),   (Space), etc...

Why can't I use a space in the "Custom format"?

Or... I've created a "Date Type" simply called "myDate" => 'l F j, Y' ('Sunday June 5, 2011'). Is there a way to get Token to show that format? Long, medium, raw, short... "myDate"...

Comments

ts145nera’s picture

try with separate date part, so if you would "j F Y" format type this:

[node:field-jcqotw-date:custom:j] [node:field-jcqotw-date:custom:F] [node:field-jcqotw-date:custom:Y]
gaurav.kapoor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)