5sControl / 5sControl/5s-frontend
there is no abbreviation of the hour in block of the report
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
Отсутствует сокращение "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:**

贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend, internationalization
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100