Skip to content

fix(Dotcom.ServicePatterns): extra_service date handling#3223

Merged
thecristen merged 2 commits into
mainfrom
cbj/extra-service-with-dates
Jun 1, 2026
Merged

fix(Dotcom.ServicePatterns): extra_service date handling#3223
thecristen merged 2 commits into
mainfrom
cbj/extra-service-with-dates

Conversation

@thecristen
Copy link
Copy Markdown
Collaborator

Scope

Slack thread - came up while testing the upcoming rating and noticing Jun 13 not being clear

Implementation

It turns out services using the :extra_service typicality might not use added_dates to describe its single date of service, but we were relying on parsing that to show special dates.

Screenshots

Before - extended event service without date (or missing entirely)

image image

After - extended event service now annotated with Jun 13

image image

How to test

Using dev-blue data, you can visit schedule finders for most routes using this service on June 13.

It turns out extra_service doesn't use added_dates to describe its single date of service.
@thecristen thecristen requested a review from a team as a code owner June 1, 2026 16:40
@thecristen thecristen requested a review from joshlarson June 1, 2026 16:40
Comment thread lib/dotcom/service_patterns.ex Outdated
Co-authored-by: Josh Larson <jlarson@mbta.com>
@thecristen thecristen enabled auto-merge (squash) June 1, 2026 19:46
@thecristen thecristen merged commit 410ce52 into main Jun 1, 2026
17 checks passed
@thecristen thecristen deleted the cbj/extra-service-with-dates branch June 1, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants