I already knew that and that’s irrelevant to the point here. RSS lacking an updated time stamp doesn’t give meaning to a comparison between updated and published timestamp. If it does, please show me how.
We’re specifically talking about the case when the user explicitly chooses to trust potentially incorrect feed data. We’re not talking about default sorting. If I choose to sort by feed dates, It should be consistent to minimize confusion. The result of comparing published and updated dates has no meaning.
Again irrelevant to what’s being discussed here. RSS lacking an updated time stamp doesn’t give meaning to a comparison between updated and published timestamp. If it does, please show me how.
I’ve actually found the times used by YouTube to be very flakey. For example, Lani Arcade has a video posted on Nov 4, 2017 timestamped in TT-RSS as Nov 26, 2018 when it was last checked. I had never investigated the issue closely, but the feed’s published time is accurate. The video claims 2 comments with only one visible, yet the updated value keeps changing.
Since YouTube doesn’t make it clear there are RSS feeds, I’m not sure they care about their issue, and just resolved to ignore it since it’s minimally impacting. As feader pointed out, a plugin solves this if it really, really bothers someone. Just put the published value in updated and move along, unless you want to try to argue with YouTube to fix their shit.
Final Edit: I hate my post at this point, and since this is already a heated thread, I’m being overly cautious. Apologies for the moving target.
Not so much for the OP, but if others find this thread I would recommend against modifying the core. You can, but you’ll be forever maintaining a fork of TT-RSS (even if the above-mentioned file is rarely updated). I suggest using a plugin with either HOOK_FETCH_FEED, HOOK_FEED_FETCHED or HOOK_FEED_PARSED to modify the contents of the feed before TT-RSS works with it.