5sControl / 5sControl/5s-frontend

fix bug time of the first timeline's report isn't matched with camera's time

Open
#503 4 comments 0 reactions 1 assignee Claimed by @AlexGurski View on GitHub
bug
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Время первого репорта на таймлайне не совпадает с временем на камерах, открытом репорте

**Precondition**
пользователь авторизован
открыта страница "Dashboard"

**Environment:**
win 11
Chrome 114
kaunas hp, 111, 110

**STR:**
1. Навести курсор мыши на таймлане, где есть репорт
2. Кликнуть по репорту

****ER:**
Время на камерах, открытом репорте **совпадает** со временем, указанном на репорте таймлайна
**AR:****
Время на камерах, открытом репорте **НЕ совпадает** со временем, указанном на репорте (т.к. первый репорт начинается предыдущего дня)
**Attcahments**

![Image](https://user-images.githubusercontent.com/122295113/254500417-439dd8da-d1eb-43cc-a756-95efaba3ae1d.png)

![Image](https://user-images.githubusercontent.com/122295113/254500487-642f53df-ab26-4c49-89fb-bd633e5bfb90.png)

Contributor guide

Open the contributing guide

Research direction

The issue describes a timeline report time mismatch with camera time. Look for timeline and report components, likely in a dashboard view. Check how report timestamps are fetched and displayed versus camera feed timestamps. The fix likely involves aligning the timezone or offset calculation for the first report of a day.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.