diff --git a/cope2n-api/billing_report.xlsx b/cope2n-api/billing_report.xlsx index a765347..2723b16 100644 Binary files a/cope2n-api/billing_report.xlsx and b/cope2n-api/billing_report.xlsx differ diff --git a/cope2n-api/fwd_api/utils/accuracy.py b/cope2n-api/fwd_api/utils/accuracy.py old mode 100644 new mode 100755 index 12a37a9..b8464b1 --- a/cope2n-api/fwd_api/utils/accuracy.py +++ b/cope2n-api/fwd_api/utils/accuracy.py @@ -824,11 +824,8 @@ def create_billing_data(subscription_requests): format_to_time = '%m/%d/%Y %H:%M' format_to_date = '%m/%d/%Y' format_to_month = '%B %Y' - - rq_created_at = request.created_at - print(type(redemption_id)) - rq_created_at = timezone.make_aware(rq_created_at) - print(rq_created_at) + naive_created_time = timezone.make_naive(request.created_at) + rq_created_at = timezone.make_aware(value=naive_created_time, timezone=timezone.get_current_timezone()) rq_month = rq_created_at.strftime(format_to_month) rq_date = rq_created_at.strftime(format_to_date) rq_time = rq_created_at.strftime(format_to_time) @@ -1086,4 +1083,4 @@ def mean_list(l): def shadow_report(report_id, query): c_connector.make_a_report_2( - (report_id, query)) \ No newline at end of file + (report_id, query))