aboutsummaryrefslogtreecommitdiff
path: root/static/admin
diff options
context:
space:
mode:
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"};