Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1034

When specifying a month number for the Calendar, the prev and next links are wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B5
    • Fix Version/s: 1.0 B6
    • Labels:
      None
    • Similar issues:

      Description

      For example, accessing the Calendar page with ?month=5, the "previous month" link will point to ?month=+4 and for "next month" to ?month=+6

      This is wrong, because +n adds n months to the current month.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: