Skip to content

Commit

Permalink
Format maintenance hours
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Apr 18, 2024
1 parent b5bed7d commit de420d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/settings/MaintenancesPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ const MaintenacesPage = () => {
return formatSpeed(value, speedUnit, t);
case 'distance':
return formatDistance(value, distanceUnit, t);
case 'hours':
return `${value / 3600000} ${t('sharedHours')}`;
default:
return value;
}
Expand Down

0 comments on commit de420d4

Please sign in to comment.