Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.