chore: 年度リストを昇順に変更
This commit is contained in:
@@ -33,7 +33,7 @@ def get_fiscal_years():
|
|||||||
end_fy = fiscal_end_year(max_date)
|
end_fy = fiscal_end_year(max_date)
|
||||||
|
|
||||||
result = []
|
result = []
|
||||||
for fy in range(end_fy, start_fy - 1, -1):
|
for fy in range(start_fy, end_fy + 1):
|
||||||
reiwa = fy - REIWA_OFFSET
|
reiwa = fy - REIWA_OFFSET
|
||||||
if reiwa > 0:
|
if reiwa > 0:
|
||||||
wareki = f"令和{reiwa}年"
|
wareki = f"令和{reiwa}年"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ def get_fiscal_years():
|
|||||||
end_fy = fiscal_end_year(max_date)
|
end_fy = fiscal_end_year(max_date)
|
||||||
|
|
||||||
result = []
|
result = []
|
||||||
for fy in range(start_fy, end_fy + 1): # 小さい順(昇順)
|
for fy in range(start_fy, end_fy + 1): # 古い順
|
||||||
reiwa = fy - REIWA_OFFSET
|
reiwa = fy - REIWA_OFFSET
|
||||||
if reiwa > 0:
|
if reiwa > 0:
|
||||||
wareki = f"令和{reiwa}年"
|
wareki = f"令和{reiwa}年"
|
||||||
|
|||||||
Reference in New Issue
Block a user