diff --git a/src/client/src/TournamentCreator.js b/src/client/src/TournamentCreator.js
index 850be68..1eaa89d 100644
--- a/src/client/src/TournamentCreator.js
+++ b/src/client/src/TournamentCreator.js
@@ -82,14 +82,14 @@ function TournamentForm(props) {
event.preventDefault();
console.log(maxTeamsExponent)
let maxTeams = Math.pow(2, maxTeamsExponent);
- let startTime = new Date(startTime).toUTCString();
- let endTime = new Date(endTime).toUTCString();
+ let tournamentStart = new Date(startTime).toUTCString();
+ let tournamentEnd = new Date(endTime).toUTCString();
postTournament(
props.showError,
document.getElementById("nameInput").value,
document.getElementById("descriptionInput").value,
- startTime,
- endTime,
+ tournamentStart,
+ tournamentEnd,
maxTeams
);
console.log(startTime, endTime);
@@ -114,33 +114,19 @@ function TournamentForm(props) {
- {
setStartTime(newValue);
- console.log(new Date(newValue).toUTCString());
+ // console.log(new Date(newValue).toUTCString());
}}
renderInput={(params) => }
/>
- {
setEndTime(newValue);
- console.log(new Date(newValue).toUTCString());
+ // console.log(new Date(newValue).toUTCString());
}}
renderInput={(params) => }
/>
diff --git a/src/client/src/TournamentManager.js b/src/client/src/TournamentManager.js
index e7be1ef..7e7d0b6 100644
--- a/src/client/src/TournamentManager.js
+++ b/src/client/src/TournamentManager.js
@@ -131,25 +131,25 @@ function ManageTournament(props) {
-
-
- {
- setStartTime(newValue);
- console.log(new Date(newValue).toUTCString());
- }}
- renderInput={(params) => }
- />
-
-
- {
- setEndTime(newValue);
- console.log(new Date(newValue).toUTCString());
- }}
- renderInput={(params) => }
- />
-
+
+
+ {
+ setStartTime(newValue);
+ console.log(new Date(newValue).toUTCString());
+ }}
+ renderInput={(params) => }
+ />
+
+
+ {
+ setEndTime(newValue);
+ console.log(new Date(newValue).toUTCString());
+ }}
+ renderInput={(params) => }
+ />
+
{/*
*/}