Skip to content

Commit 36b80b9

Browse files
committed
Fix mock dates
1 parent c8a36a9 commit 36b80b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

server/dates.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def mock_get_dates(start_year, end_year, today, month_delta=0):
3838
current_month_in_year = "0{}".format(current_month_in_year)
3939

4040
months.append("{}_{}_01".format(year, current_month_in_year))
41+
if year < 2019:
42+
months.append("{}_{}_15".format(year, current_month_in_year))
4143

4244
if month % 12 == 0:
4345
year = year + 1

0 commit comments

Comments
 (0)