Rename method to convert from utc to bst for consistency

This commit is contained in:
Imdad Ahad
2017-08-10 16:24:48 +01:00
parent 955ec60fe3
commit 19b09f2a27
4 changed files with 10 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ def get_midnight_for_day_before(date):
return get_london_midnight_in_utc(day_before)
def convert_utc_time_in_bst(utc_dt):
def convert_utc_to_bst(utc_dt):
return pytz.utc.localize(utc_dt).astimezone(local_timezone).replace(tzinfo=None)