Skip to content

Commit 9abd3ed

Browse files
authored
Merge pull request #797 from opentripplanner/fix-notifications-prefs
Fix notifications prefs
2 parents 00bdf7a + 047ad6c commit 9abd3ed

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: lib/components/user/monitored-trip/trip-notifications-pane.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,10 @@ function DurationOptions({
145145
const localizedMinutes = minuteOptions.map((minutes) => ({
146146
text:
147147
minutes === 60
148-
? intl.formatMessage(
149-
{ id: 'components.TripNotificationsPane.oneHour' },
150-
{ minutes }
151-
)
148+
? intl.formatMessage({ id: 'components.TripNotificationsPane.oneHour' })
152149
: intl.formatMessage(
153150
{ id: 'common.time.tripDurationFormat' },
154-
{ hours: 0, minutes }
151+
{ hours: 0, minutes, seconds: 0 }
155152
),
156153
value: minutes
157154
}))

0 commit comments

Comments
 (0)