diff options
Autocommit at 05.05.2022 @ 16:18
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/VenueConsoleUI.cpp | 4 |
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp index 6ab494b..5a41b64 100644 --- a/src/VenueConsoleUI.cpp +++ b/src/VenueConsoleUI.cpp @@ -28,7 +28,7 @@ void command_newEvent() { char name[MAX_LINE_WIDTH]; inputLineBox("Enter event name: ", name, MAX_LINE_WIDTH); - DateTime dt; + Date dt; inputBox("Enter event date and time: ", &dt); handleStatusCode(v->get_es().createEvent(&v->get_halls()[hallIndex], name, dt)); @@ -39,7 +39,7 @@ void command_newEvent() { void command_freeSeats() { char name[MAX_LINE_WIDTH]; inputLineBox("Enter event name: ", name, MAX_LINE_WIDTH); - DateTime dt; + Date dt; inputBox("Enter event date and time: ", &dt); print("Number of free seats: "); printLine(v->get_es().queryFreeSeats(name, dt)); |
