Theraze
Active member
Fluxxdog asked for a function to return the game date as a string. I looked and didn't find one that can be called, so I made this patch which has a new single function, gameday_to_string(). It just does a return of
so... basically, in the HolidayDatabase (the only file with Petember in it), get the calendar day as a string, using the calendar day, using the current date. It's the same system used by KoLmafia to return date everywhere else, just usable by people in scripts and the like. 
It also fixes one of the weird spots where someone put 8 spaces into a blank line between commands for no particular reason. Pet peeve.
Code:
return new Value( HolidayDatabase.getCalendarDayAsString( HolidayDatabase.getCalendarDay( new Date() ) ) );

It also fixes one of the weird spots where someone put 8 spaces into a blank line between commands for no particular reason. Pet peeve.
