-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix gamedate year on games scheduled after the new year #31
Google will set string dates with non-existent years to the current year; all games scheduled for Jan+ being set to the previous year - while still in Nov, Dec, etc. This will check if today is within the months of Oct-Dec and set the gamedate year for any game scheduled Jan-April to the year ahead. NOTE: There may be edge cases were this could cause minor issues - such as game schedules that span more than 4 months in September or December.
- Loading branch information
1 parent
faf1a28
commit 192ced8
Showing
2 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters