Merge branch 'release-2.140.134' into main
[feisty_meow.git] / scripts / schedule / generate_reminders.pl
index 0769ddf80f03b416e862e3454966803e618d37bd..8c49f3fb5c2a139d2bb4e98c8cfb9562994f9df8 100644 (file)
 #
 # Apr 24 Saint Shanty's Day
 # Jul 8 Normality Day
+# Oct 24 1985 Saint Splivven's Day
 #
 # Month names must currently be three letters and must be capitalized.
-# The day must be a number, followed by a space.  Anything after that
-# space is considered the description of the event.
+# The day must be a number, followed by a space.  An optional 4 digit
+# year can be included.  Anything after that is considered to be the
+# description of the event.
 
 use Env qw(CLOUD_BASE TMP);
 
@@ -77,7 +79,8 @@ for ($i = 0; $i < 24; $i += 2) {
 #print "got days wik @days\n";
 #print "got next mon wik @next_month\n";
 
-local(@date_as_array) = split(' ', `date`);
+local(@date_as_array) = split(' ', `date '+%a %b %d %Y'`);
+#print( "date as array: @date_as_array\n");
 
 ##############