Convert frontend display to be just UTC (#540)

This changeset converts the display of dates and times to be just UTC to match the recent changes in the backend.  This unwinds a bit of work that was done previously and allows us to start with a clean slate in how we want to approach displaying dates and times going forward. It also adds a bit of explanatory text to help users.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
Co-authored-by: stvnrlly <steven.reilly@gsa.gov>
This commit is contained in:
Carlo Costino
2023-06-12 15:49:48 -04:00
committed by GitHub
parent da623c87d6
commit 92d25f5a69
19 changed files with 114 additions and 110 deletions

View File

@@ -182,16 +182,16 @@ def test_notification_status_shows_expected_back_link(
@pytest.mark.parametrize('time_of_viewing_page, expected_message', (
('2012-01-01 06:01', (
"sample template was sent by Test User today at 1:01am"
"sample template was sent by Test User today at 6:01am UTC"
)),
('2012-01-02 06:01', (
"sample template was sent by Test User yesterday at 1:01am"
"sample template was sent by Test User yesterday at 6:01am UTC"
)),
('2012-01-03 06:01', (
"sample template was sent by Test User on 1 January at 1:01am"
"sample template was sent by Test User on 1 January at 6:01am UTC"
)),
('2013-01-03 06:01', (
"sample template was sent by Test User on 1 January 2012 at 1:01am"
"sample template was sent by Test User on 1 January 2012 at 6:01am UTC"
)),
))
def test_notification_page_doesnt_link_to_template_in_tour(