Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | views_rss-pubDate-and-lastBuildDate-do-not-display-1944396-2.patch | 962 bytes | aroq |
Comments
Comment #1
aroq CreditAttribution: aroq commentedI can confirm it.
Comment #2
aroq CreditAttribution: aroq commentedPatch attached.
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedThanks Chad and Alexander! Committed to 7.x-2.x.