Changes between Initial Version and Version 2 of Ticket #6749


Ignore:
Timestamp:
Jun 16, 2008, 4:25:37 PM (17 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6749

    • Property Keywords archive_week added
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Generic week view displays Sunday objects in both the current and previous weekGeneric 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