change all millisecond references into Dates

This commit is contained in:
2025-04-29 17:05:23 -07:00
parent b58babc7ea
commit 1c7ee9fbc3
9 changed files with 51 additions and 51 deletions

View File

@@ -4324,7 +4324,7 @@ const routes: IRoute[] = [
systemId: supportedIntegrationTestSystems[0].id,
polylineCoordinates: redRoutePolylineCoordinates,
color: "#db2316",
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
name: "Teal Route",
@@ -4332,7 +4332,7 @@ const routes: IRoute[] = [
systemId: supportedIntegrationTestSystems[0].id,
polylineCoordinates: tealRoutePolylineCoordinates,
color: "#21bdd1",
updatedTime: Date.now(),
updatedTime: new Date(),
},
];
@@ -4345,7 +4345,7 @@ const stops: IStop[] = [
longitude: -117.8892805,
},
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
id: "2",
@@ -4355,7 +4355,7 @@ const stops: IStop[] = [
longitude: -117.895966,
},
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
id: "3",
@@ -4365,7 +4365,7 @@ const stops: IStop[] = [
"longitude": -117.85281
},
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
}
];
@@ -4375,14 +4375,14 @@ const orderedStopsForRedRoute: IOrderedStop[] = [
stopId: stops[0].id,
position: 1,
systemId: "1",
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
routeId: routes[0].id,
stopId: stops[2].id,
position: 2,
systemId: "1",
updatedTime: Date.now(),
updatedTime: new Date(),
},
];
@@ -4392,21 +4392,21 @@ const orderedStopsForTealRoute: IOrderedStop[] = [
stopId: stops[0].id,
position: 1,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
routeId: routes[1].id,
stopId: stops[1].id,
position: 2,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
routeId: routes[1].id,
stopId: stops[2].id,
position: 2,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
]
@@ -4426,7 +4426,7 @@ const shuttles: IShuttle[] = [
routeId: routes[0].id,
systemId: supportedIntegrationTestSystems[0].id,
orientationInDegrees: 45.91,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
name: "24",
@@ -4438,7 +4438,7 @@ const shuttles: IShuttle[] = [
routeId: routes[0].id,
systemId: supportedIntegrationTestSystems[0].id,
orientationInDegrees: 90.24,
updatedTime: Date.now(),
updatedTime: new Date(),
}
];
@@ -4448,28 +4448,28 @@ const etas: IEta[] = [
shuttleId: shuttles[0].id,
secondsRemaining: 12.023,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
stopId: stops[2].id,
shuttleId: shuttles[0].id,
secondsRemaining: 600.123,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
stopId: stops[2].id,
shuttleId: shuttles[1].id,
secondsRemaining: 172.015,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
},
{
stopId: stops[0].id,
shuttleId: shuttles[1].id,
secondsRemaining: 710.152,
systemId: supportedIntegrationTestSystems[0].id,
updatedTime: Date.now(),
updatedTime: new Date(),
}
];