Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2845

Server time calculation doesn't take into consideration DST offset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.0
    • Block: Simple clock
    • None
    • Easy
    • MOODLE_20_STABLE

      When calculating current system time the current daylight savings offset is not taken into consideration.

      Attached patch addresses this.

      Steps to reproduce:

      1. Set your local timezone to America/New_York.
      2. Set the Moodle instance timezone to America/New York.
      3. Install the block.
      4. Verify that your local and system times match.

            salvetore Michael de Raadt
            jkelsh John Kelsh (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.