Whether this is a bug or support request, I'm not sure. In any case, I'm trying to format an event start date with day, month, and year only, but displayed like the posting dates are displayed with such themes as Lullabot's 960 Robots theme. I attacked the problem by setting up three custom formats, "Day", "Month", and "Year", and then attempting to display them using the following type calls in my template.
print content_format('field_event_date_time', $node->field_event_date_time[0], 'year');
However, it appears that no custom date formats will display if they don't include the time information. Whether or not timezone is specified also seems to interfere.
My php coding skills are limited, so there may be an easier way to do this by exploding the date field into an array and using the separate "pieces" for the day, month, and year.
Help would be appreciated.
Thanks.
Comments
Comment #1
markus_petrux commentedI think you'll get better support from the issues queue of the Date module.
Comment #2
RWWood commentedHey, thanks, and thanks for moving it over here.
Comment #3
arlinsandbulte commentedHi,
I am just indiscriminately closing all support requests with no activity for more than 1 year.
If you consider this to still be a valid issue / support request, feel free to re-open.
BUT,
if you are re-opening this issue, please provide specific details on how this issue can move forward.
Thanks.