Changes between Initial Version and Version 2 of Ticket #6749
- Timestamp:
- Jun 16, 2008, 4:25:37 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6749
- Property Keywords archive_week added
- Property Triage Stage Unreviewed → Accepted
- Property Summary Generic week view displays Sunday objects in both the current and previous week → Generic week view displays Sunday objects in both the current and next week
-
Ticket #6749 – Description
initial v2 10 10 }}} 11 11 12 {{{first_day} is set from {{{date}}}, which is the Sunday that begins the week. However, {{{last_day}}} is then set to be the day 7 days after that day, which is the next Sunday. The final line above sets the range to be from one Sunday to the next Sunday, but the {{{range}}} test is inclusive so both Sundays are included by mistake.12 {{{first_day}}} is set from {{{date}}}, which is the Sunday that begins the week. However, {{{last_day}}} is then set to be the day 7 days after that day, which is the next Sunday. The final line above sets the range to be from one Sunday to the next Sunday, but the {{{range}}} test is inclusive so both Sundays are included by mistake. 13 13 14 14 This bug can be fixed by changing the {{{7}}} to a {{{6}}}. Trivial patch is attached.