5sControl / 5sControl/5s-frontend

there is no abbreviation of the hour in block of the report

Ouverte
#556 0 commentaires 0 réactions 1 personne assignée Réclamée par @AlexGurski Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Отсутствует сокращение "h" слова "hours" в блоке репорта на странице "Dashboard" вкладка "Reports"

**Precondition:**
1. Пользователь авторизован
2. Камера авторизована
3. Алгоритм (например, machine control, кроме MinMax) назначен на камеру
4. Есть репорты у которых продолжительность более 60 минут

****Environment:**
office: https://grand-alien-apparently.ngrok-free.app/dashboard
kaunas hp: https://complete-boa-loudly.ngrok-free.app
Сhrome Версия 119

**STR:****
1. Кликнуть по вкладке "Dashboard" в боковом меню
2. Кликнуть по вкладке "Reports" страницы "Dashboard"
3. Найти репорт с продолжительностью от 60 минут

**ER:**
Формат времени репорта _1h:_38min 0s

**AR:**
Формат времени репорта 1:38min 0s

**Attachments:**

![Image](https://github.com/5sControl/5s-frontend/assets/122295113/e76ddb20-cca1-4847-b7a0-e72f7d730d56)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Look for the report duration formatting logic in the frontend code, likely in a component or utility file handling the Dashboard/Reports tab. The screenshot shows the UI element; inspect the code that generates the time string '1:38min 0s' and modify it to include the 'h' abbreviation for hours. Check for existing time formatting functions or i18n keys. Verify the change by running the app and checking a report with duration over 60 minutes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend, internationalization
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.