Skip to content

Commit

Permalink
fixup: lables
Browse files Browse the repository at this point in the history
  • Loading branch information
rudiejd committed Mar 30, 2024
1 parent 4a02e92 commit cd6f01c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/labels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ const getReadableStatusLabel = (status) => {

const getDepartureTimePrediction = (prediction: Date) => {
if (prediction) {
return `Departure at ${prediction.toLocaleTimeString()}`;
return `Next departure ${prediction.toLocaleTimeString()}`;
}

return '';
};

const getLastUpdatedAt = (updatedAt: Date) => {
if (updatedAt) {
return `Last updated ${updatedAt.toLocaleTimeString()}`;
return `Postion updated ${updatedAt.toLocaleTimeString()}`;
}
return '';
};
Expand Down

0 comments on commit cd6f01c

Please sign in to comment.