fix contact list bst bug

the api returns UTC timestamps, we should keep them as UTC timestamps
until the very last moment, and only convert them into BST when we know
we want to return to a user (ie: in contact-list.html and other places
like that)
This commit is contained in:
Leo Hemsted
2021-09-14 13:28:27 +01:00
parent 96b91f9e1a
commit 9e915703fd
5 changed files with 7 additions and 19 deletions

View File

@@ -458,7 +458,7 @@ def test_cant_save_bad_contact_list(
(False, 'Not used yet.'),
(True, 'Not used in the last 7 days.'),
])
@freeze_time('2020-03-13 16:51:56')
@freeze_time('2020-06-13 16:51:56')
def test_view_contact_list(
mocker,
client_request,