diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-02 11:09:12 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-02 11:09:12 -0500 |
commit | c4f9973f8cbc60c2ed619ef51652c1979a10f330 (patch) | |
tree | 85d1ab2a3f77c99e9115fe688a30cc2a99522320 | |
parent | e0da6a4e48da1e8fd31e7aa8a7f0b1b9c1b5dc67 (diff) |
Format the time like a normal human instead
-rw-r--r-- | poller/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |