zhoudanxie commited on
Commit
d04838b
·
1 Parent(s): 2713ece

Change default end date

Browse files
Files changed (1) hide show
  1. modules/get_rules_in_window.py +2 -2
modules/get_rules_in_window.py CHANGED
@@ -26,12 +26,12 @@ class DataAvailabilityError(Exception):
26
  pass
27
 
28
 
29
- def get_date_range(start_date: str, end_mmdd: str = "01-03"):
30
  """Define date range of documents returned by the app.
31
 
32
  Args:
33
  start_date (str): The start date for retrieving the documents.
34
- end_mmdd (str, optional): The month and day for the end date in MM-DD format. Defaults to "01-03".
35
 
36
  Returns:
37
  dict: Dictionary containing start date, end date, and transition year.
 
26
  pass
27
 
28
 
29
+ def get_date_range(start_date: str, end_mmdd: str = "01-20"):
30
  """Define date range of documents returned by the app.
31
 
32
  Args:
33
  start_date (str): The start date for retrieving the documents.
34
+ end_mmdd (str, optional): The month and day for the end date in MM-DD format. Defaults to "01-20".
35
 
36
  Returns:
37
  dict: Dictionary containing start date, end date, and transition year.