Fix the Autism Acceptance Day specific condition

This commit is contained in:
Dorian Niemiec 2024-04-02 06:21:25 +02:00
parent 0231cbbcd7
commit fcc4b65423

View file

@ -1,5 +1,5 @@
<% var nowDate = new Date(); %> <% var nowDate = new Date(); %>
<% if (nowDate.getDate() == 2 && nowDate.getMonth() == 4) { %> <% if (nowDate.getDate() == 2 && nowDate.getMonth() == 3) { %>
<div class="header-banner" style="background-color: #ff0000; color: #ffffff"> <div class="header-banner" style="background-color: #ff0000; color: #ffffff">
Today, SVR.JS goes <b>#RedInstead</b><br/> Today, SVR.JS goes <b>#RedInstead</b><br/>
<a href="https://autisticadvocacy.org/donate/">Support the Autistic Self Advocacy Network</a> <a href="https://autisticadvocacy.org/donate/">Support the Autistic Self Advocacy Network</a>