Ticket #10688: archive_month.diff
File archive_month.diff, 683 bytes (added by , 16 years ago) |
---|
-
django/views/generic/date_based.py
143 143 144 144 # Calculate the next month, if applicable. 145 145 if allow_future: 146 next_month = last_day + datetime.timedelta(days=1)147 elif last_day < datetime.date.today():148 next_month = last_day + datetime.timedelta(days=1)146 next_month = last_day #+ datetime.timedelta(days=1) 147 elif last_day <= datetime.date.today(): 148 next_month = last_day #+ datetime.timedelta(days=1) 149 149 else: 150 150 next_month = None 151 151