Time Input Display (12h vs 24h)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- frontend, internationalization
Hướng nghiên cứu
Bắt đầu bằng cách xem xét các issue liên quan 590 và 393, sau đó xác định liệu định dạng nên được điều khiển bằng một thuộc tính appearance hay bằng locale của trình duyệt và hệ điều hành. Issue này cũng yêu cầu khảo sát việc sử dụng theo khu vực và theo dõi phản hồi; công việc được xem là hoàn tất khi đã thống nhất được hướng triển khai, vẫn giữ nguyên dữ liệu đã lưu theo chuẩn và chỉ thay đổi cách hiển thị thời gian.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Currently, Web Forms defaults to a 12h format for the time question type, whereas Enketo and Collect derive the format from the container's locale (Browser or Android OS).
There is often a disconnect between official standards and societal reality. Many countries officially use the 24h system, but daily society (e.g., parts of Latin America and Asia) operates almost exclusively in 12h. Depending on the data collector and the specific collection context, an unfamiliar format can create extra cognitive load due to "mental math" (e.g., converting 17:00 to 5:00 PM), lowering the user experience and potentially increasing entry errors.
Implementation Options:
- Use an "appearance" attribute in the form definition to allow form designers to manually set the format. This is a "quick win" that provides immediate flexibility and bypasses the complexities of locale-detection logic.
- Rely strictly on browser/OS locales to align more closely with existing Enketo and Collect behavior.
Next Steps:
- Conduct a quick survey across different industries and regions to determine which format minimizes cognitive load in specific field environments.
- Monitor the forum and other channels to catch feedback related to this topic.
Checklist
- Does it need UI/UX design?
- Yes. Describe the UI/UX requirements or attach a Figma link in the "Design" section.
- No
- Does it need API design?
- Yes. Specify the endpoints, methods, or data structures needed.
- No
- Does it need design around state flow?
- Yes. Outline the state flow requirements.
- No
- Does it need a test plan?
- Yes. Add the test plan as a comment in this task or attach the document.
- No
User Stories
- As a data collector,
I want to see the time picker in a format I'm familiar,
so that I can quickly pick the time without errors.
Additional Notes
- This strictly affects the display format; the underlying saved data remains standardized and unaffected.
Related Issues
- Ngôn ngữ chính
- TypeScript
- Star
- 38
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getodk/web-forms
-
iOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 54/100
-
Offline send queueĐang mởIn Enketo
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Launch form offlineĐang mởneeds discussion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
Tất cả issue của getodk/web-forms
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
twilio/twilio-node#1241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
hugomrdias/playwright-test#786 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:stdlib effort:S impact:med platform:linux type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
WenyuChiou/agent-board#1745 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày