From e6c172eb9562ea3e0993bf89c89607b65f437569 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 30 Mar 2020 20:12:09 +0000 Subject: [PATCH] Fix bug where admin history date was always today --- webclient/src/Admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/src/Admin.js b/webclient/src/Admin.js index 855982a..e00921e 100644 --- a/webclient/src/Admin.js +++ b/webclient/src/Admin.js @@ -43,7 +43,7 @@ export function AdminHistory(props) { {history.map(x => - {moment().utc(x.history_date).format('YYYY-MM-DD')} + {moment.utc(x.history_date).format('YYYY-MM-DD')} {x.history_user || 'System'} {x.history_type} {x.owner_name}