5sControl / 5sControl/5s-frontend

[3h]fix bug in Orders View(product operation time)

Abierto Apto para principiantes
#81 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug Front
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:
![Image](https://user-images.githubusercontent.com/113969187/225937407-64483162-52f1-45dd-8d0d-e282cdb2feee.png)

Expecte result:
![Image](https://user-images.githubusercontent.com/113969187/225937408-220014d7-0f74-4972-acae-f8631ae8dcf8.png)

Guía de contribución

Abrir la 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.