aboutsummaryrefslogtreecommitdiff
path: root/static/admin
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-02-05 12:10:09 +0200
committerGitHub <noreply@github.com>2019-02-05 12:10:09 +0200
commita33928a3a4e66c8ac38fa3491524b5b1519fb2ae (patch)
tree59e099d02dba494be976caa6138712704a89f03b /static/admin
parentd7c299c70d61e3462342121bdeaf3d4111855af0 (diff)
Might fix #57 since it’s deprecated
Diffstat (limited to 'static/admin')
-rw-r--r--static/admin/index.html2
1 files changed, 1 insertions, 1 deletions
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"};