5sControl / 5sControl/5s-webserver

fix bug KAUNAS: different time on the cameras and the reports

Open
#106 0 comments 0 reactions 1 assignee Claimed by @Dimskay1988 View on GitHub
bug
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Summary: время репорта отличается от времени на камере**

Environment:
- v0.4.3 v0.4.4
- KAUNAS / hp
- win 11 pro
- google chrome - версия 114.0.5735.134

Preconditions:
- Пользователь авторизован
- Лицензионный ключ введен
- Камеры авторизованы (10.20.100.40, 10.20.100.41, 10.20.100.42, 10.20.100.43)
- К авторизованным камерам подключены алгоритмы

Steps to reproduce:
1. Дождаться создания репортов на авторизованных камерах
2. Просмотреть репорты для каждой камеры

Expected result:
- Время репорта совпадает с временем на камере

Actual result:
- Время репорта **НЕ** совпадает с временем на камере

Attachment:
**камера 10.20.100.40**

![Image](https://github.com/5sControl/server-/assets/109624457/3db610a9-671a-4e40-8b97-346fc750d0e8)

![Image](https://github.com/5sControl/server-/assets/109624457/083f7db7-cb5b-4cfc-9d35-f5a057975cd9)
**камера 10.20.100.41**

![Image](https://github.com/5sControl/server-/assets/109624457/b2f9a7d2-5da2-4b2b-aa98-fb754eaadd92)

![Image](https://github.com/5sControl/server-/assets/109624457/c584e495-ee97-4a89-94cb-bd04c937bc38)

**камера 10.20.100.42**

![Image](https://github.com/5sControl/server-/assets/109624457/e80721dc-5b33-4a7a-bbec-222f4e6a4e99)

![Image](https://github.com/5sControl/server-/assets/109624457/e54b687d-9ebd-4b7e-ba2a-9c823d3e48f5)

**камера 10.20.100.43**

![Image](https://github.com/5sControl/server-/assets/109624457/ac371126-2483-444b-a98f-d0b88537adc1)

![Image](https://github.com/5sControl/server-/assets/109624457/e5bae90e-a711-4d15-9a6d-ac85b1b0d814)

Contributor guide

Open the contributing guide

Research direction

The issue describes a time mismatch between camera timestamps and report timestamps. Start by examining the report generation and camera data ingestion code. Look for timezone handling, timestamp parsing, or synchronization logic. Check the database schema for timestamp fields. Verify the issue by comparing the timestamps in the provided screenshots with the stored data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.