Plugin Directory

Changeset 2424793


Ignore:
Timestamp:
11/24/2020 03:33:54 PM (5 years ago)
Author:
monkeymays
Message:

Update to the date

File:
1 edited

Legend:

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

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