Skip to content

Commit

Permalink
remove the maximum duration for accessibilityMap
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-duhaime authored and tahini committed Dec 18, 2024
1 parent 69bcde6 commit b53753a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion locales/en/transit.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@
"DeltaIntervalMustBeAMultipleOfDelta": "The delta interval must be a multiple of the delta.",
"MaxTotalTravelTimeSecondsIsMissing": "Total duration is missing.",
"MaxTotalTravelTimeSecondsIsInvalid": "Total duration is invalid.",
"MaxTotalTravelTimeSecondsIsTooLarge": "Total duration is too high (maximum 60 minutes).",
"NumberOfPolygonsIsMissing": "The number of polygons is missing.",
"NumberOfPolygonsIsInvalid": "The number of polygons is invalid.",
"NumberOfPolygonsIsTooLarge": "The number of polygons is too high (must be lower or equal to the total duration).",
Expand Down
1 change: 0 additions & 1 deletion locales/fr/transit.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@
"DeltaIntervalMustBeAMultipleOfDelta": "L'intervalle du delta doit être un multiple du delta.",
"MaxTotalTravelTimeSecondsIsMissing": "La durée totale de parcours est requise.",
"MaxTotalTravelTimeSecondsIsInvalid": "La durée totale de parcours est invalide.",
"MaxTotalTravelTimeSecondsIsTooLarge": "La durée totale de parcours est trop élevé (maximum 60 minutes).",
"NumberOfPolygonsIsMissing": "Le nombre de polygones est requis.",
"NumberOfPolygonsIsInvalid": "Le nombre de polygones est invalide.",
"NumberOfPolygonsIsTooLarge": "Le nombre de polygones est trop élevée (doit être plus petit ou égal à la durée totale de parcours).",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ class TransitAccessibilityMapRouting extends ObjectWithHistory<AccessibilityMapA
if (isNaN(maxTravelTime)) {
this._isValid = false;
this.errors.push('transit:transitRouting:errors:MaxTotalTravelTimeSecondsIsInvalid');
} else if (maxTravelTime > 3600) {
this._isValid = false;
this.errors.push('transit:transitRouting:errors:MaxTotalTravelTimeSecondsIsTooLarge');
}
}

Expand Down

0 comments on commit b53753a

Please sign in to comment.