update
This commit is contained in:
parent
0ab18b06b4
commit
96e135a13f
Binary file not shown.
9
cope2n-api/fwd_api/utils/accuracy.py
Normal file → Executable file
9
cope2n-api/fwd_api/utils/accuracy.py
Normal file → Executable file
@ -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))
|
||||
(report_id, query))
|
||||
|
Loading…
Reference in New Issue
Block a user