5sControl / 5sControl/5s-frontend
[3h]fix bug in Orders View(product operation time)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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:

Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 70/100