Make sure the date does not include time

This commit is contained in:
Rebecca Law
2018-05-21 11:51:06 +01:00
parent 4d8255b8d9
commit c2b888a6af

View File

@@ -239,7 +239,7 @@ def update_fact_billing(data, process_day):
def create_billing_record(data, rate, process_day):
billing_record = FactBilling(
bst_date=process_day,
bst_date=process_day.date(),
template_id=data.template_id,
service_id=data.service_id,
notification_type=data.notification_type,