Plugin Directory

Changeset 2612169


Ignore:
Timestamp:
10/10/2021 08:59:32 PM (4 years ago)
Author:
monkeymays
Message:

Minor fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • santas-christmas-countdown/trunk/scripts/scriptfile.js

    r2612163 r2612169  
    33thisday = today.getDate();
    44thisyr = today.getFullYear();
    5 if (thismon == 11 && thisday > 24)
     5if (thismon == 11 && thisday > 25)
    66    {
    77    thisyr = ++thisyr;
    8     BigDay = new Date("December 24, "+thisyr);
     8    BigDay = new Date("December 25, "+thisyr);
    99    }
    1010else
    1111    {
    12     BigDay = new Date("December 24, "+thisyr);
     12    BigDay = new Date("December 25, "+thisyr);
    1313    }
    1414
Note: See TracChangeset for help on using the changeset viewer.