From c2b888a6aff07c8a40e7aef5cc92fa947b5b6586 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 21 May 2018 11:51:06 +0100 Subject: [PATCH] Make sure the date does not include time --- app/dao/fact_billing_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/fact_billing_dao.py b/app/dao/fact_billing_dao.py index a508d3bfc..0f284a2e5 100644 --- a/app/dao/fact_billing_dao.py +++ b/app/dao/fact_billing_dao.py @@ -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,