diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2010-05-23 21:28:35 -0400 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2010-05-23 21:28:35 -0400 |
commit | 4c91415ed1bc36eefbc1f3c8215022da567d5316 (patch) | |
tree | c82db6037d82a9a93173e623535320af1fb0d6a5 | |
parent | e7d6066f936e7294651b52ff27f51145c7c73d02 (diff) | |
download | fourisland-4c91415ed1bc36eefbc1f3c8215022da567d5316.tar.gz fourisland-4c91415ed1bc36eefbc1f3c8215022da567d5316.tar.bz2 fourisland-4c91415ed1bc36eefbc1f3c8215022da567d5316.zip |
Fixed (temporarily) Memorial Day's date
Because Memorial Day falls on the LAST Monday of May, rather than a specific week number like the fourth week, and May can sometimes have four mondays and sometimes have five mondays, this is quite dangerous because in 2012, May will only have four Mondays, which will render this code invalid. However, Four Island 3.0 should hopefully be out by 2012, which will hopefully not contain this bug (a.k.a. by allowing a date to be specified as a the last day of a month as well as during a specific week).
-rwxr-xr-x | includes/specialdates.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/specialdates.php b/includes/specialdates.php index 52baf2e..a7c51f9 100755 --- a/includes/specialdates.php +++ b/includes/specialdates.php | |||
@@ -47,7 +47,7 @@ sd_solar_annual('Tri\'s CIEday',4,22); //DateFinder | |||
47 | sd_solar_annual('Silence Day',4,25); //DateFinder | 47 | sd_solar_annual('Silence Day',4,25); //DateFinder |
48 | sd_solar_annual('WCA Day',5,5); //DateFinder | 48 | sd_solar_annual('WCA Day',5,5); //DateFinder |
49 | sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic | 49 | sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic |
50 | sd_lunar_annual('Memorial Day',5,1,4); //BG Pic; DateFinder; Header Pic | 50 | sd_lunar_annual('Memorial Day',5,1,5); //BG Pic; DateFinder; Header Pic |
51 | sd_easter(); //BG Pic; DateFinder | 51 | sd_easter(); //BG Pic; DateFinder |
52 | sd_solar_annual('Flag Day',6,14); //BG Pic; DateFinder | 52 | sd_solar_annual('Flag Day',6,14); //BG Pic; DateFinder |
53 | sd_solar_annual('Hatkirbys B-Day',6,17); //BG Pic; DateFinder; Header Pic | 53 | sd_solar_annual('Hatkirbys B-Day',6,17); //BG Pic; DateFinder; Header Pic |