Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwr committed Apr 3, 2024
1 parent b649f91 commit 5e604da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/parkings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const formatOpeningTimes = (
): React.ReactNode => {
const wkday = new Date().getDay();

console.log('parkingdata[getOpenTimeKey(day)]', parkingdata[getOpenTimeKey(day)]);
const tmpopen: Date = new Date(parkingdata[getOpenTimeKey(day)]);
const hoursopen = tmpopen.getHours();
const minutesopen = String(tmpopen.getMinutes()).padStart(2, "0");
Expand Down

0 comments on commit 5e604da

Please sign in to comment.