Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2572

Dates display inconsistently on role

    XMLWordPrintable

Details

    Description

      1. Created a petiton via enrollment flow and set a valid_from date (using date picker) of 2022-12-31 00:00:00.
      2. Database cm_co_person_roles shows valid_from 2022-12-31 06:00:00.0, which seems OK as I am at GMT-6.
      3. On the CO_People page of the petitioner, under roles, opening the twisty under "Role Attributes", valid_from shows as 2022-12-31 06:00:00, thus not adjusted for GMT-6.
      4. Selecting View from there and opening CO_Person_Roles, the date is shown as Sat Dec 31 00:00:00 2022 America/Chicago. Seems weird esp. since this view is in such proximity to the previous.

      So, the dates are not being converted to browser local time consistently. Could be confusing to the user, esp. if the time difference crosses a date.

      Pictures attached.

      Attachments

        1. 1A.png
          1A.png
          25 kB
        2. 2A.png
          2A.png
          39 kB

        Issue Links

          Activity

            People

              benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
              michael.manske@at.internet2.edu Michael Manske (ligo.org)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: