Description
During Daylight savings time, the time reported in the rss_rc feed is off by an hour.
Example
This shows up in the RecentChanges?action=rss_rc. Example:
<dc:date>2003-12-12T12:00:00-05:00</dc:date>
Discussion
Use time.gmtime() instead, and replace the offset with 'Z'
- Done. On an internet wiki server, using local time is somewhat pointless anyway.
- Perhaps, but wikis are often used within organizations where all, or most, individuals may share a time zone. I think having an option to select timezones (with correct processing of Daylight Savings offset) would be better than choosing offset from GMT. The underlying system should already have the correct timezone information available anyway.
- Done. On an internet wiki server, using local time is somewhat pointless anyway.
References:
- On a Linux machine, compare the outputs of the following two commands:
date --iso-8601=seconds --date="12 Dec 2003 12:00 EDT" date --iso-8601=seconds --date="12 Dec 2003 12:00 EST"
Seems like *all* times are off by one hour... Had to readjust my timezone from "+1" to "+2" because of daylight savings time... -- ThomasLorenz 2004-04-14 09:27:14
- This is a different thing and no bug. Moin has quite simple functions for calculating viewer's time and it just does UTC + the offset you can configure. So the offset has to be corrected.
Plan
- Priority:
Assigned to: ThomasWaldmann
- Will be fixed in release: 1.2.2