Update main.py
Browse files
main.py
CHANGED
@@ -38,8 +38,8 @@ def main():
|
|
38 |
|
39 |
if date_option == "Date Range":
|
40 |
# Prompt user to enter start and end dates
|
41 |
-
start_date = st.date_input("Start Date")
|
42 |
-
end_date = st.date_input("End Date")
|
43 |
|
44 |
# Ensure start date is before end date
|
45 |
if start_date > end_date:
|
|
|
38 |
|
39 |
if date_option == "Date Range":
|
40 |
# Prompt user to enter start and end dates
|
41 |
+
start_date = st.date_input("Start Date").date()
|
42 |
+
end_date = st.date_input("End Date").date()
|
43 |
|
44 |
# Ensure start date is before end date
|
45 |
if start_date > end_date:
|