change updatedTime into a Date

This commit is contained in:
2025-04-29 17:01:51 -07:00
parent f68dad0ca2
commit b58babc7ea
13 changed files with 62 additions and 62 deletions

View File

@@ -59,7 +59,7 @@ export class ChapmanApiBasedParkingRepositoryLoader implements ParkingRepository
name: jsonStructure.Name,
spotsAvailable: jsonStructure.CurrentCount > jsonStructure.Capacity ? jsonStructure.Capacity : jsonStructure.CurrentCount,
address: jsonStructure.Address,
updatedTimeMs: Date.now(),
updatedTime: Date.now(),
}
return structureToReturn;

View File

@@ -12,7 +12,7 @@ const parkingStructures: IParkingStructure[] = [
},
name: "Anderson Structure",
id: "1",
updatedTimeMs: Date.now(),
updatedTime: Date.now(),
},
{
address: "200 W Sycamore Ave, Orange, CA 92866-1053",
@@ -24,7 +24,7 @@ const parkingStructures: IParkingStructure[] = [
},
name: "Barrera",
id: "2",
updatedTimeMs: Date.now(),
updatedTime: Date.now(),
}
];