I couldn't get pubDate or lastBuildDate to display in the feed display of my view. I found the issue on line 113 of views_rss_core.inc but not sure if this has other implications in the code:

  $key = strtolower($variables['elements'][0]['key']);

If I remove the strtolower() function, the pubDate and lastBuildDate work fine as they need uppercase letter(s) in them to be referenced properly by their respective variables $row->pubDate and $row->lastBuildDate.

Members fund testing for the Drupal project. Drupal Association Learn more


aroq’s picture

I can confirm it.

aroq’s picture

Version: 7.x-2.0-rc3 » 7.x-2.x-dev
Status: Active » Needs review
962 bytes

Patch attached.

maciej.zgadzaj’s picture

Status: Needs review » Fixed

Thanks Chad and Alexander! Committed to 7.x-2.x.

Status: Fixed » Closed (fixed)

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