Skip to content

Commit

Permalink
Small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Oct 17, 2024
1 parent edf24f4 commit 6e2df8f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/json/fantasyhockey.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"fullcountry": "United States",
"date": "20241010",
"playofffmt": "Division=4,Conference=2",
"ordertype": "ORDER BY Points DESC, Goals DESC, Wins DESC",
"ordertype": "ORDER BY Points DESC, GoalsFor DESC, Wins DESC",
"conferences": "yes",
"divisions": "yes"
},
Expand Down
2 changes: 1 addition & 1 deletion data/sgml/fantasyhockey.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
]>

<hockey database="./php/data/fantasyhockey.db3">
<league name="FHL" fullname="Fantasy Hockey League" country="USA" fullcountry="United States" date="20241010" playofffmt="Division=4,Conference=2" ordertype="ORDER BY Points DESC, Goals DESC, Wins DESC" conferences="yes" divisions="yes">
<league name="FHL" fullname="Fantasy Hockey League" country="USA" fullcountry="United States" date="20241010" playofffmt="Division=4,Conference=2" ordertype="ORDER BY Points DESC, GoalsFor DESC, Wins DESC" conferences="yes" divisions="yes">
<conference name="Eastern" prefix="" suffix="Conference">
<division name="Fire" prefix="" suffix="Division">
<team city="Dragonsville" area="NY" fullarea="New York" country="USA" fullcountry="United States" name="Dragons" arena="Dragon Dome" prefix="Dragonsville" suffix="" affiliates=""></team>
Expand Down
2 changes: 1 addition & 1 deletion data/xml/fantasyhockey.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
affiliates CDATA #REQUIRED>
]>
<hockey xmlns="" database="./php/data/fantasyhockey.db3">
<league xmlns="" name="FHL" fullname="Fantasy Hockey League" country="USA" fullcountry="United States" date="20241010" playofffmt="Division=4,Conference=2" ordertype="ORDER BY Points DESC, Goals DESC, Wins DESC" conferences="yes" divisions="yes">
<league xmlns="" name="FHL" fullname="Fantasy Hockey League" country="USA" fullcountry="United States" date="20241010" playofffmt="Division=4,Conference=2" ordertype="ORDER BY Points DESC, GoalsFor DESC, Wins DESC" conferences="yes" divisions="yes">
<conference xmlns="" name="Eastern" prefix="" suffix="Conference">
<division xmlns="" name="Fire" prefix="" suffix="Division">
<team xmlns="" city="Dragonsville" area="NY" fullarea="New York" country="USA" fullcountry="United States" name="Dragons" arena="Dragon Dome" prefix="Dragonsville" suffix="" affiliates=""/>
Expand Down
Binary file modified php/data/fantasyhockey.db3
Binary file not shown.
1 change: 1 addition & 0 deletions php/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
if (isset($_GET['day']) && strlen($_GET['day']) == 1) {
$_GET['day'] = "0".$_GET['day'];
}
$chckmonth = "01";
if (isset($_GET['date']) && strlen($_GET['date']) == 8) {
$chckyear = substr($_GET['date'], 0, 4);
$chckmonth = substr($_GET['date'], 4, 2);
Expand Down

0 comments on commit 6e2df8f

Please sign in to comment.