From a33928a3a4e66c8ac38fa3491524b5b1519fb2ae Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 5 Feb 2019 12:10:09 +0200 Subject: Might fix #57 since it’s deprecated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/admin/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/admin') diff --git a/static/admin/index.html b/static/admin/index.html index 03fce04..028edc1 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -34,7 +34,7 @@ var resultOfState = 'This incident has been resolved.'; } - if (layoutPostDateEnd.getYear() === layoutPostDate.getYear()) { + if (layoutPostDateEnd.getFullYear() === layoutPostDate.getFullYear()) { if (layoutPostDateEnd.getHours() === layoutPostDate.getHours()) { if (layoutPostDateEnd.getMinutes() === layoutPostDate.getMinutes()) { var resultOfStateProps = {"class": "red"}; -- cgit v1.2.3-70-g09d2