Changes between Initial Version and Version 2 of Ticket #6749


Ignore:
Timestamp:
06/16/2008 04:25:37 PM (7 years ago)
Author:
ramiro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6749

    • Property Keywords archive_week added
    • Property Triage Stage changed from Unreviewed to Accepted
    • Property Summary changed from Generic week view displays Sunday objects in both the current and previous week to Generic week view displays Sunday objects in both the current and next week
  • Ticket #6749 – Description

    initial v2  
    1010}}}
    1111
    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.
    1313
    1414This bug can be fixed by changing the {{{7}}} to a {{{6}}}.  Trivial patch is attached.
Back to Top