5sControl / 5sControl/5s-frontend
[3h]fix bug in Orders View(product operation time)
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
summary: Orders View, при выборе заказа, время начала операции по продукту отображается не верно(+3 часа относительно времени из базы данных).
1. Открыть приложение;
2. Отрыть вкладку Orders View;
3. Выбрать заказа со статусом started(пример 55676).
Result: Время начало операции 4:56 PM(+3 часа ко времени начало согласно БД).
Expecte result: Время начала операции согласно таблице 2023-02-28-13:56:16.
Result:

Expecte result:

Contributor guide
Research direction
Look at the Orders View component where the operation start time is displayed. The issue is a timezone offset of +3 hours. Check the date formatting logic, likely in a utility file, and ensure it correctly handles UTC/local conversion. Verify by comparing the displayed time with the database timestamp 2023-02-28-13:56:16.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100