QTfrontend/main.cpp
changeset 13304 5ac2bdefa173
parent 13274 e381f5260b45
child 13516 d44ca1f04bbe
--- a/QTfrontend/main.cpp	Fri Mar 30 17:01:30 2018 +0200
+++ b/QTfrontend/main.cpp	Fri Mar 30 11:56:16 2018 -0400
@@ -96,6 +96,10 @@
         season = SEASON_HWBDAY;
         years_since_foundation = date.year() - 2004;
     }
+    else if (date.month() == 4 && date.day() == 1)
+    {
+        season = SEASON_APRIL1;
+    }
     //Easter?
     else if (calculateEaster(date.year()) == date)
         season = SEASON_EASTER;
@@ -423,6 +427,9 @@
         case SEASON_CHRISTMAS :
             fname = "christmas.css";
             break;
+        case SEASON_APRIL1 :
+            fname = "april1.css";
+            break;
         case SEASON_EASTER :
             fname = "easter.css";
             break;