Description

On the RecentChanges page, on a wiki that doesn't have changes every day, selecting max_days=... counts the number of days incorrectly. It counts the number of days that have had changes, rather than setting an absolute start point.

Steps to reproduce

  1. Go to .../RecentChanges?max_days=10 on a wiki that has not had changes every day for the last 10 days.

  2. Observe that the oldest changes shown are more than 10 days old.

Example

http://mywiki.wooledge.org/RecentChanges?max_days=10

(Note, this was a valid example at the time the bug was reported. If there has been unusually high activity on the wiki in the 10 days before you read this, you may have to increase max_days, or use a different wiki to see the problem.)

Component selection

Details

MoinMoin Version

1.9.3

OS and Version

OpenBSD 4.7 amd64

Python Version

2.5.4

Server Setup

Apache 1.x + CherryPy

Server Details

?

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/RecentChangesMaxDaysCountsWrong (last edited 2010-07-15 18:21:34 by GregWooledge)