Skip to content

Commit 6d407ec

Browse files
Fix compilation after merge
1 parent 2a7e564 commit 6d407ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

application/src/main/java/org/opentripplanner/apis/transmodel/model/framework/TransitInfoType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static GraphQLOutputType create(GraphQLObjectType validityPeriodType) {
2222
var startTime = transitService.getTransitServiceStarts();
2323
var endTime = transitService.getTransitServiceEnds();
2424

25-
Long startMillis = startTime != null ? startTime.toInstant().toEpochMilli() : null;
26-
Long endMillis = endTime != null ? endTime.toInstant().toEpochMilli() : null;
25+
Long startMillis = startTime != null ? startTime.toEpochMilli() : null;
26+
Long endMillis = endTime != null ? endTime.toEpochMilli() : null;
2727

2828
return new ValidityPeriod(startMillis, endMillis);
2929
})

0 commit comments

Comments
 (0)