Uploaded image for project: 'ASTPP Community'
  1. ASTPP Community
  2. ASTPPCOM-400

Generate timezone list and calculate GMT offset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: v4.0.1, v4.0
    • Fix Version/s: v5.0
    • Labels:
      None

      Description

      This modification calculates GMT offset and will therefore display the correct timezone for daylight savings time.

      This is demonstration code so only admin form timezone is altered with minimal modification. This will then display reports with the new DST aware timezone calculation when logged in as admin. To fully implement, change all other references to timezone in accounts_form.php. Would also need to be cleaned up to remove several unnecessary things if the change is implemented as is.

      Admin account timezone needs to be updated via GUI after the changes so that the account table is updated with the new timezone_id. After that you need to logout/login for session data to update to correct timezone_id.

      Generating the timezone list on the fly does not seem to be very resource intensive. However it could alternatively be put in a table like it is now.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            powerpbx powerpbx
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: