RSS times are treated as local times #121

Closed
opened 2026-02-21 14:53:07 -05:00 by deekerman · 0 comments
Owner

Originally created by @Changaco on GitHub (Oct 1, 2012).

Originally assigned to: @cdumez on GitHub.

The timezone in the RSS <pubDate> element is ignored, for example

<pubDate>Mon, 24 Sep 2012 12:42:47 -0500</pubDate>

is displayed in qBittorrent on my computer as:

lundi 24 septembre 2012 12:42:47 CEST

instead of either:

lundi 24 septembre 2012 12:42:47 -0500

or:

lundi 24 septembre 2012 19:42:47 CEST

I don't know much about C++ but it seems to me that the problem is in the parseDate function starting at rssparser.cpp#L66. The timezone is parsed on line 137 but doesn't seem to be used to build the return value of the function.

Originally created by @Changaco on GitHub (Oct 1, 2012). Originally assigned to: @cdumez on GitHub. The timezone in the RSS `<pubDate>` element is ignored, for example ``` <pubDate>Mon, 24 Sep 2012 12:42:47 -0500</pubDate> ``` is displayed in qBittorrent on my computer as: ``` lundi 24 septembre 2012 12:42:47 CEST ``` instead of either: ``` lundi 24 septembre 2012 12:42:47 -0500 ``` or: ``` lundi 24 septembre 2012 19:42:47 CEST ``` I don't know much about C++ but it seems to me that the problem is in the parseDate function starting at [rssparser.cpp#L66](https://github.com/qbittorrent/qBittorrent/blob/master/src/rss/rssparser.cpp#L66). The timezone is parsed on line 137 but doesn't seem to be used to build the return value of the function.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#121
No description provided.