Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      34907

      Description

      problem is that the stats UI expects the exact day end timestapts in db which is wrong, because site may change timezone, dst, ect.
      solution: add date normalization into stats_fix_zeros()

        Issue Links

          Activity

          Hide
          Michael Spall added a comment -

          Is this the underlying reason for the DST issue in MDL-12031?

          Show
          Michael Spall added a comment - Is this the underlying reason for the DST issue in MDL-12031 ?
          Hide
          Petr Škoda added a comment -

          stats uses a bit different logic than logs, though the problem is similar; it is a bit hacky at present, I hope it will solved finally when we switch to native PHP 5.2.x date functions in Moodle 2.0

          Show
          Petr Škoda added a comment - stats uses a bit different logic than logs, though the problem is similar; it is a bit hacky at present, I hope it will solved finally when we switch to native PHP 5.2.x date functions in Moodle 2.0
          Hide
          Petr Škoda added a comment -

          done

          Show
          Petr Škoda added a comment - done

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: