Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…hips-pro into dev
  • Loading branch information
ideadude committed May 6, 2021
2 parents ef7fe06 + a72172d commit c99e6d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adminpages/reports/sales.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ function pmpro_getSales($period, $levels = NULL)
elseif($period == "this year")
$startdate = date_i18n("Y", current_time('timestamp')) . "-01-01";
else
$startdate = "";
$startdate = date_i18n("Y-m-d", 0);

$gateway_environment = pmpro_getOption("gateway_environment");

Expand Down Expand Up @@ -593,7 +593,7 @@ function pmpro_getRevenue($period, $levels = NULL)
elseif($period == "this year")
$startdate = date_i18n("Y", current_time('timestamp')) . "-01-01";
else
$startdate = "";
$startdate = date_i18n("Y-m-d", 0);

// Convert from local to UTC.
$startdate = get_gmt_from_date( $startdate );
Expand Down

0 comments on commit c99e6d8

Please sign in to comment.