5sControl / 5sControl/5s-frontend

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

未关闭 适合新手
#88 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug Front
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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: Дата отображается в формате число месяца, месяц, год.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
75/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。