Posted by rggoode on April 23, 2011 at 12:05am
What happened to the custom date format in D7?
Under Home » Administration » Configuration » Regional and language
where you find the Long, Medium, and Short options for Date Type, when you go to Add Date Type, there used to be an option to use the PHP codes to create a custom date type (ie: F, Y for Month, Year > April, 2001).
Now when I click there, I just get a listing of the formats already available, with no option to customize.

Comments
Add date type
Roger,
I had the same need.
Right above the preset formats is a link to "Add a date type".
From there you should see a drop-down with many more options.
But how about a Custom format?
I'd found that list. But what i'm looking for is the ability to define a custom format of my own... so something will appear as just "Month, Year", for example.
I've done it before in version 6, and even in 7, not so long ago. But for some reason, I'm just tony finding the place where you can go in and define that custom format. Once you have, it would show up as an additional entry in that same list you're referencing.
Roger
_________________
Art has gone to the dogs
GoodeGallery.com
First create a format...
First you need to create a format: admin/config/regional/date-time/formats/add
You can use ANY custom PHP date() syntax there to create your format. Then you should be able to select it in your custom or current date formats....
:)
Jake Strawn (@himerus)
ThemeGeeks | Development Geeks
Omega - 960.gs
THAT's what I was looking for
The odd thing is, I thought there used to be a link somewhere to get to that location... admin/config/regional/date-time/formats/add
I couldn't find it. Thanks for the help
Roger
_________________
Art has gone to the dogs
GoodeGallery.com
On the formats tab...
It's actually on that formats tab, then there, there's an "action link" to add a new format.... Definitely a bit tough to find at first. I knew I'd already been through this issue, it was just remembering where/how/what steps to take to get it to work.
It's really a sad interface for what is actually some powerful code now that makes it easy (in code) to define new formats and date displays.
Jake Strawn (@himerus)
ThemeGeeks | Development Geeks
Omega - 960.gs