|
@@ -60,7 +60,7 @@ class stat_base
|
|
|
}
|
|
|
elseif($stype == stat_base::last_month_type)
|
|
|
{
|
|
|
- $cur_time = date('Y-m-d',$stime) + 86400;
|
|
|
+ $cur_time = strtotime(date('Y-m-d',$stime)) + 86400;
|
|
|
$cur_date = new DateTime();
|
|
|
$cur_date->setTimestamp($cur_time);
|
|
|
$inter = new DateInterval('P1M');
|