RSS Date function gets stuck at lastBuildDate


Sometimes when I use wg("rssurl", rss, 0, date), which should give me the date of the first entry in the RSS file, I only get the current time.

I've compared different RSS feeds, and it seems that the problem is the tag <lastBuildDate>, which precedes <pubDate> in the RSS file. Not all feeds have it, though. Whenever there is no <lastBuildDate>, the correct time is shown; whenever it's there, the time shown is the current one (well, technically, the last build date time of the RSS file, but that always seems to update every second).

Hopefully, this is an easy fix.