Elifslh commited on
Commit
e081b8b
·
verified ·
1 Parent(s): 97c2e50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -26,6 +26,9 @@ def countdown_tool(event_date: str, duration: int) -> str:
26
  Args:
27
  event_date (str): The event's date and time in the format "YYYY-MM-DD HH:MM".
28
  duration (int): A placeholder argument (not used in calculations).
 
 
 
29
  """
30
  try:
31
  event_datetime = datetime.datetime.strptime(event_date, "%Y-%m-%d %H:%M")
 
26
  Args:
27
  event_date (str): The event's date and time in the format "YYYY-MM-DD HH:MM".
28
  duration (int): A placeholder argument (not used in calculations).
29
+
30
+ Returns:
31
+ str: A message displaying the time remaining until the event.
32
  """
33
  try:
34
  event_datetime = datetime.datetime.strptime(event_date, "%Y-%m-%d %H:%M")