Spaces:
Runtime error
Runtime error
armargolis
commited on
Commit
•
64749ad
1
Parent(s):
e3e2932
Changing output
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ try:
|
|
23 |
|
24 |
# Print the results
|
25 |
st.write("Input date:", date.strftime("%Y-%m-%d"))
|
26 |
-
st.write("Next multiple of 500:", delta_days, "days on", next_multiple.strftime("%Y-%m-%d"),"\n")
|
27 |
for i, date_after in enumerate(dates_after):
|
28 |
st.write(f"{day_list[i]} days after input date:", date_after.strftime("%Y-%m-%d"))
|
29 |
|
30 |
except ValueError:
|
31 |
-
st.write("
|
|
|
23 |
|
24 |
# Print the results
|
25 |
st.write("Input date:", date.strftime("%Y-%m-%d"))
|
26 |
+
st.write("Next multiple of 500:", str(delta_days), "days on", next_multiple.strftime("%Y-%m-%d"),"\n")
|
27 |
for i, date_after in enumerate(dates_after):
|
28 |
st.write(f"{day_list[i]} days after input date:", date_after.strftime("%Y-%m-%d"))
|
29 |
|
30 |
except ValueError:
|
31 |
+
st.write("Write date in format yyyy-mm-dd")
|