• Resolved midwestkel

    (@midwestkel)


    I just noticed that the graph is showing the traffic for February but the dates are January dates.

    I figured it’s just a minor bug.

Viewing 4 replies - 1 through 4 (of 4 total)
  • To me (not an expert), the issue appears to be in gad-data-model.php, line 158:

    $current_date=$start_date_ts + (60*60*24*$count);

    I believe $start_date_ts is not the correct value, might be a scope issue.

    I replaced this code with
    $current_date= time() + (60*60*24*($count-30));

    this basically reacalculates $start_date_ts as a part of the $current_date calculation

    Plugin Contributor Carson McDonald

    (@carson-mcdonald)

    Thanks, I believe that was it. I have fixed it so that it will be pushed out in the next release. Should be this week.

    Plugin Contributor Carson McDonald

    (@carson-mcdonald)

    The new release is out (2.0.3) so I think that should have this fixed. Anyone want to verify that it looks good?

    Thread Starter midwestkel

    (@midwestkel)

    I just updated last night and can verify that it works and displays the proper dates. Thanks for all your hard work!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Google Analytics Dashboard] Graph shows wrong dates’ is closed to new replies.