mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 12:28:24 -04:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user