5sControl / 5sControl/5s-frontend

[2h]fix bug in date date format(Orders View)

Open Beginner friendly
#88 0 comments 0 reactions 0 assignees View on GitHub
bug Front
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

summary: Orders View, дата заказа отображается в формате Date: 02.11.2023 - 02.14.2023(месяц, число месяца, год).
1. Открыть приложение;
2. Открыть вкладку Orders View;
3. Выбрать заказ из списка(пример 55537).
Result: Дата заказа отображается в формате Date: 02.11.2023 - 02.14.2023(месяц, число месяца, год).
Expecte result: Дата отображается в формате число месяца, месяц, год.

Contributor guide

Open the contributing guide

Research direction

Look for the Orders View component and the code that formats the order date. The bug is that the date shows as '02.11.2023 - 02.14.2023' (month.day.year) but should be day.month.year. Find the date formatting function or library call (likely using JavaScript Date or a library like date-fns) and adjust the format string. Test by running the app and checking the Orders View with order 55537.

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
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.