5sControl / 5sControl/5s-frontend
[3h]fix bug in Orders View(product operation time)
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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:

Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 70/100