Skip to content

Commit

Permalink
Merge pull request #233 from cal-itp/fix-display-month-year
Browse files Browse the repository at this point in the history
use start date instead of publish date for month display
  • Loading branch information
atvaccaro authored Mar 7, 2023
2 parents 15ef0a5 + d86032a commit 6c3d1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ def fetch_report_data(report_dir):
if name == "feed_info":
report_data[name] = dict(report_data[name][0])
report_data[name]["date_month_year"] = friendly_month_year_from_int(
report_data[name]["publish_date"]
report_data[name]["report_start_date"]
)
report_data[name]["date_month"] = friendly_month_from_int(
report_data[name]["publish_date"]
report_data[name]["report_start_date"]
)
report_data[name]["start_month_day"] = friendly_month_day_from_int(
report_data[name]["report_start_date"]
Expand Down

0 comments on commit 6c3d1e4

Please sign in to comment.