Skip to content

Commit

Permalink
"this year" / "last year" fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Brookbanks committed Dec 29, 2014
1 parent 2a1c724 commit 518e839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/sources/dashboard.index.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
}
}

$this_year = strftime('%G',strtotime('this year'));
$last_year = strftime('%G',strtotime('last year'));
$this_year = date('Y');
$last_year = $this_year - 1;

$chart_data['data'] = "['Month', '$this_year', '$last_year'],";

Expand Down

0 comments on commit 518e839

Please sign in to comment.