parent
5d20b2f646
commit
472b983498
|
@ -558,7 +558,7 @@ class WC_Admin_Report {
|
|||
break;
|
||||
|
||||
case '7day' :
|
||||
$this->start_date = strtotime( '-6 days', current_time( 'timestamp' ) );
|
||||
$this->start_date = strtotime( '-6 days', strtotime( 'midnight', current_time( 'timestamp' ) ) );
|
||||
$this->end_date = strtotime( 'midnight', current_time( 'timestamp' ) );
|
||||
$this->chart_groupby = 'day';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue