From c4f9973f8cbc60c2ed619ef51652c1979a10f330 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 2 Nov 2020 11:09:12 -0500 Subject: Format the time like a normal human instead --- poller/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poller/__init__.py b/poller/__init__.py index b38bcd1..20e5cc8 100644 --- a/poller/__init__.py +++ b/poller/__init__.py @@ -201,7 +201,7 @@ def get_data(): 'isolation_off_campus': isolation_off_campus, 'beds_available': beds_available, 'tests_administered': tests_administered, - 'last_updated': str(datetime.datetime.now()).replace('GMT', 'EST') + 'last_updated': datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') } LATEST_DATA = current_data if not db_is_same(current_data): -- cgit v1.2.3