Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31200

forums open and close dates don't obey time zone

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.2, 11.2, 12.0
    • Fix Version/s: 12.0
    • Component/s: Forums Tool
    • Labels:
    • 10 status:
      Please Merge
    • Test Plan:
      Hide

      1) start by creating a forum a topic in my current topic. with start and end dates.

      2) log in as another user , setting a different time zone in Sakai preferences and matching your local machine setting with Sakai preferences.

      Expected result: forum start and end dates should show with the conversion to new timezone.

      Show
      1) start by creating a forum a topic in my current topic. with start and end dates. 2) log in as another user , setting a different time zone in Sakai preferences and matching your local machine setting with Sakai preferences. Expected result: forum start and end dates should show with the conversion to new timezone.

      Description

      In message center, area, forum and topic have open and close dates. They aren't converted to and from the current time zone.

      When you look at the code, note that it's misleading. It reads an ISO dates from the browser. The looks like it's independent of time zone. The problem is that it depends upon the time zone setting of the browser, which we don't want. We want the date the user sees to depend upon their time zone setting in Sakai, not the browser.

      In fact, while the ISO date is read, it's processed with a SimpleDateFormat that ignores the time zone. This is misleading, but correct.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hedrick Charles Hedrick
                  Reporter:
                  hedrick Charles Hedrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code