mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 23:32:27 -05:00
Rename method to convert from utc to bst for consistency
This commit is contained in:
@@ -5,7 +5,7 @@ from datetime import datetime
|
||||
import requests
|
||||
from flask import current_app
|
||||
|
||||
from app.utils import get_midnight_for_day_before, get_london_midnight_in_utc, convert_utc_time_in_bst
|
||||
from app.utils import get_midnight_for_day_before, get_london_midnight_in_utc, convert_utc_to_bst
|
||||
|
||||
|
||||
class PerformancePlatformClient:
|
||||
@@ -27,7 +27,7 @@ class PerformancePlatformClient:
|
||||
def send_performance_stats(self, date, channel, count, period):
|
||||
if self.active:
|
||||
payload = {
|
||||
'_timestamp': convert_utc_time_in_bst(date).isoformat(),
|
||||
'_timestamp': convert_utc_to_bst(date).isoformat(),
|
||||
'service': 'govuk-notify',
|
||||
'channel': channel,
|
||||
'count': count,
|
||||
|
||||
Reference in New Issue
Block a user