holyday fixes

This commit is contained in:
ivan 2024-06-12 13:02:39 +03:00
parent e6aa5ad57b
commit 0832e1504e
2 changed files with 32 additions and 30 deletions

View File

@ -195,25 +195,23 @@ class Discordian_Date_Widget extends WP_Widget {
} elseif ($dseason==0 && $dday==21) {
$holiday = " Celebrate Hug Day.";
} elseif ($dseason==0 && $dday==26) {
$holiday = " Celebrate Backwards Day (Traditional).";
$holiday = " Celebrate yaD sdrawkcaB, Traditional.";
} elseif ($dseason==0 && $dday==37) {
$holiday = " Celebrate Aaron Burrs Birthday.";
} elseif ($dseason==0 && $dday==49) {
$holiday = " Celebrate The Mary Day.";
$holiday = " Celebrate Aaron Burr's Birthday.";
} elseif ($dseason==0 && $dday==51) {
$holiday = " Celebrate Pet Loving Day.";
} elseif ($dseason==0 && $dday==69) {
$holiday = " Celebrate Head Chicken/Chicken Head Day.";
$holiday = " Celebrate Chicken Head Day.";
} elseif ($dseason==0 && $dday==72) {
$holiday = " Celebrate Daytime.";
} elseif ($dseason==1 && $dday==4) {
$holiday = " Celebrate Grover Clevelands Birthday.";
$holiday = " Celebrate Grover Cleveland's Birthday.";
} elseif ($dseason==1 && $dday==11) {
$holiday = " Celebrate Discordians for Jesus/Love Your Neighbor Day.";
} elseif ($dseason==1 && $dday==18) {
$holiday = " Celebrate Fools Day.";
$holiday = " Celebrate Fool's Day.";
} elseif ($dseason==1 && $dday==19) {
$holiday = " Celebrate St. John the Blasphemists Day.";
$holiday = " Celebrate St. John the Blasphemist's Day.";
} elseif ($dseason==1 && $dday==34) {
$holiday = " Celebrate Omarmas.";
} elseif ($dseason==1 && $dday==43) {
@ -221,19 +219,17 @@ class Discordian_Date_Widget extends WP_Widget {
} elseif ($dseason==1 && $dday==68) {
$holiday = " Celebrate Mal-2mas.";
} elseif ($dseason==1 && $dday==70) {
$holiday = " Celebrate Jake Day Jr. (DJ)/Day of the Elppin.";
$holiday = " Celebrate Day of the Elppin/Defenestration of Prague Day.";
} elseif ($dseason==1 && $dday==72) {
$holiday = " Celebrate Towel Day.";
} elseif ($dseason==2 && $dday==26) {
$holiday = " Celebrate Imaginary Friend/Captain Tuttle Day.";
$holiday = " Celebrate Imaginary Friend.";
} elseif ($dseason==2 && $dday==28) {
$holiday = " Celebrate St. Georges Day.";
$holiday = " Celebrate St. George's Day.";
} elseif ($dseason==2 && $dday==30) {
$holiday = " Celebrate Zoog Day.";
} elseif ($dseason==2 && $dday==36) {
$holiday = " Celebrate June 31st for Popes.";
} elseif ($dseason==2 && $dday==37) {
$holiday = " Celebrate Mid-Years Day.";
$holiday = " Celebrate Mid-Year's Day.";
} elseif ($dseason==2 && $dday==40) {
$holiday = " Celebrate X-Day.";
} elseif ($dseason==2 && $dday==55) {
@ -242,36 +238,42 @@ class Discordian_Date_Widget extends WP_Widget {
$holiday = " Celebrate John Dillinger Day.";
} elseif ($dseason==3 && $dday==3) {
$holiday = " Celebrate Multiversal Underwear Day.";
} elseif ($dseason==3 && $dday==10) {
$holiday = " Celebrate St. Cecil Day.";
} elseif ($dseason==3 && $dday==18) {
$holiday = " Celebrate Festival of Hanky-Panky Spankies.";
$holiday = " Celebrate Spanking Fest.";
} elseif ($dseason==3 && $dday==33) {
$holiday = " Celebrate Cat Dancing & Pussyfoot Day.";
$holiday = " Celebrate Pussyfoot Day.";
} elseif ($dseason==3 && $dday==37) {
$holiday = " Celebrate Mass of Planet Eris/Eristotle.";
$holiday = " Celebrate Mass of Planet Eris/Mass of Eristotle.";
} elseif ($dseason==3 && $dday==39) {
$holiday = " Celebrate St. Mammes's Day.";
} elseif ($dseason==3 && $dday==41) {
$holiday = " Celebrate Emperor Norton Proclamation Day.";
} elseif ($dseason==3 && $dday==55) {
$holiday = " Celebrate Feast of St. John Blasphemist.";
} elseif ($dseason==3 && $dday==57) {
$holiday = " Celebrate Shamlicht Kids Club Day.";
} elseif ($dseason==3 && $dday==59) {
$holiday = " Celebrate Gonkulator Day (Gonculator Day).";
$holiday = " Celebrate Gonculator Day.";
} elseif ($dseason==3 && $dday==60) {
$holiday = " Celebrate Mad Hatter Day.";
} elseif ($dseason==3 && $dday==66) {
$holiday = " Celebrate Habeas Corpus Remembrance Day.";
} elseif ($dseason==4 && $dday==17) {
$holiday = " Celebrate Pope Night.";
} elseif ($dseason==4 && $dday==28) {
$holiday = " Celebrate Ek-sen-triks CluborGuild Day.";
} elseif ($dseason==4 && $dday==36) {
$holiday = " Celebrate Spanking Fest.";
} elseif ($dseason==4 && $dday==37) {
$holiday = " Celebrate 537 Day, sometimes Turkey Day.";
$holiday = " Celebrate 537 Day.";
} elseif ($dseason==4 && $dday==40) {
$holiday = " Celebrate Omars Day.";
$holiday = " Celebrate Omar's Day.";
} elseif ($dseason==4 && $dday==43) {
$holiday = " Celebrate Day D.";
} elseif ($dseason==4 && $dday==46) {
$holiday = " Celebrate Hug Day II.";
} elseif ($dseason==4 && $dday==56) {
$holiday = " Celebrate Agnostica.";
} elseif ($dseason==4 && $dday==65) {
$holiday = " Celebrate Circlemas.";
}

View File

@ -142,24 +142,24 @@ function dday(day, season, yearday, sttiby) {
else if (season == 0 && day == 17) ddaystr += ", Celebrate Joshmas";
else if (season == 0 && day == 18) ddaystr += ", Celebrate Pat Pineapple Day";
else if (season == 0 && day == 21) ddaystr += ", Celebrate Hug Day";
else if (season == 0 && day == 26) ddaystr += ", Celebrate Backwards Day, Traditional";
else if (season == 0 && day == 37) ddaystr += ", Celebrate Aaron Burr’s Birthday";
else if (season == 0 && day == 26) ddaystr += ", Celebrate yaD sdrawkcaB, Traditional";
else if (season == 0 && day == 37) ddaystr += ", Celebrate Aaron Burr's Birthday";
else if (season == 0 && day == 51) ddaystr += ", Celebrate Pet Loving Day";
else if (season == 0 && day == 69) ddaystr += ", Celebrate Chicken Head Day";
else if (season == 0 && day == 72) ddaystr += ", Celebrate Daytime";
else if (season == 1 && day == 4) ddaystr += ", Celebrate Grover Cleveland’s Birthday";
else if (season == 1 && day == 4) ddaystr += ", Celebrate Grover Cleveland's Birthday";
else if (season == 1 && day == 11) ddaystr += ", Celebrate Discordians for Jesus/Love Your Neighbor Day";
else if (season == 1 && day == 18) ddaystr += ", Celebrate Fool’s Day";
else if (season == 1 && day == 19) ddaystr += ", Celebrate St. John the Blasphemist’s Day";
else if (season == 1 && day == 18) ddaystr += ", Celebrate Fool's Day";
else if (season == 1 && day == 19) ddaystr += ", Celebrate St. John the Blasphemist's Day";
else if (season == 1 && day == 34) ddaystr += ", Celebrate Omarmas";
else if (season == 1 && day == 43) ddaystr += ", Celebrate Universal Ordination Day";
else if (season == 1 && day == 68) ddaystr += ", Celebrate Mal-2mas";
else if (season == 1 && day == 70) ddaystr += ", Celebrate Jake Day Jr./Day of the Elppin";
else if (season == 1 && day == 70) ddaystr += ", Celebrate Day of the Elppin/Defenestration of Prague Day";
else if (season == 1 && day == 72) ddaystr += ", Celebrate Towel Day";
else if (season == 2 && day == 26) ddaystr += ", Celebrate Imaginary Friend Day";
else if (season == 2 && day == 28) ddaystr += ", Celebrate St. George’s Day";
else if (season == 2 && day == 28) ddaystr += ", Celebrate St. George's Day";
else if (season == 2 && day == 30) ddaystr += ", Celebrate Zoog Day";
else if (season == 2 && day == 37) ddaystr += ", Celebrate Mid-Year’s Day";
else if (season == 2 && day == 37) ddaystr += ", Celebrate Mid-Year's Day";
else if (season == 2 && day == 40) ddaystr += ", Celebrate X-Day";
else if (season == 2 && day == 55) ddaystr += ", Celebrate Mal-2 Day";
else if (season == 2 && day == 57) ddaystr += ", Celebrate John Dillinger Day";