summary refs log tree commit diff stats
path: root/includes/specialdates.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-05-23 21:28:35 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-05-23 21:28:35 -0400
commit4c91415ed1bc36eefbc1f3c8215022da567d5316 (patch)
treec82db6037d82a9a93173e623535320af1fb0d6a5 /includes/specialdates.php
parente7d6066f936e7294651b52ff27f51145c7c73d02 (diff)
downloadfourisland-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).
Diffstat (limited to 'includes/specialdates.php')
-rwxr-xr-xincludes/specialdates.php2
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
47sd_solar_annual('Silence Day',4,25); //DateFinder 47sd_solar_annual('Silence Day',4,25); //DateFinder
48sd_solar_annual('WCA Day',5,5); //DateFinder 48sd_solar_annual('WCA Day',5,5); //DateFinder
49sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic 49sd_lunar_annual('Mothers Day',5,7,2); //BG Pic; DateFinder; Header Pic
50sd_lunar_annual('Memorial Day',5,1,4); //BG Pic; DateFinder; Header Pic 50sd_lunar_annual('Memorial Day',5,1,5); //BG Pic; DateFinder; Header Pic
51sd_easter(); //BG Pic; DateFinder 51sd_easter(); //BG Pic; DateFinder
52sd_solar_annual('Flag Day',6,14); //BG Pic; DateFinder 52sd_solar_annual('Flag Day',6,14); //BG Pic; DateFinder
53sd_solar_annual('Hatkirbys B-Day',6,17); //BG Pic; DateFinder; Header Pic 53sd_solar_annual('Hatkirbys B-Day',6,17); //BG Pic; DateFinder; Header Pic