Closed (won't fix)
Project:
Date
Version:
6.x-2.4
Component:
Date API
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2010 at 08:40 UTC
Updated:
3 May 2010 at 19:25 UTC
hi,
i can't understand the way you could use custom date format defined in the admin UI.
ie : I've defined a custom date format 'xyz' with saying 'F Y' format string.
it's recorded in date_format_types table : Ok
but in date_formats it's tagged with custom type ???
what i need is something very simple :
print date_format_date($date_obj, 'xyz'); // that is currently not working
Comments
Comment #1
c4rl commentedThat's simply not how the function works. Please refer to http://drupalcontrib.org/api/function/date_format_date