Reformat pages names to put year first
This commit is contained in:
parent
1d89272d99
commit
f1217d779e
|
@ -37,7 +37,7 @@ def season_year_for_date(date):
|
|||
|
||||
|
||||
def formatted_name_for_season_year(current_season, current_year):
|
||||
return ["Winter", "Spring", "Summer", "Fall"][current_season] + " " + str(current_year)
|
||||
return str(current_year) + " - " + ["Winter", "Spring", "Summer", "Fall"][current_season]
|
||||
|
||||
|
||||
def get_page_slug(thought):
|
||||
|
|
Loading…
Reference in New Issue