It has way too much important logic for it to be a theme function. And it only affects the fallback page. And it just complicates the code.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Active » Needs review
FileSize
3.58 KB
tim.plunkett’s picture

Alright, this one applies now that those two are committed.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Tested and works fine, code looks good

tim.plunkett’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
3.96 KB

I did more work on this, so that the fallback uses the date formatter chosen on the field's Manage Display.
The calls to date functions are so strange because date module is so strange. See #1049210: State of the Date module API.

tim.plunkett’s picture

Assigned: Unassigned » aspilicious
aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Good to go, and a nice fallback.

tim.plunkett’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)
tim.plunkett’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.