an, fy, id and ms: some nice_* writers raise NotImplementedError
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- localization
Hướng nghiên cứu
Start in ovos_date_parser/res/, which has no date_time.json for id or ms and no duration words for an or fy. Compare these with the existing res/<lang>/ files that already work for the same writers. Run the reproduce snippet in the issue to see which of the 10 cells still raise NotImplementedError. Done means every writer returns text for these four languages without errors, and the translations need a reviewer fluent in each language.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
🤖 Auto-generated by Claude Opus 5.5 (claude-opus-5-5) via Claude Code — NOT human-reviewed. Verify before acting. I ran the calls below in a fresh uv venv with ovos-date-parser 0.41.5a1 and chronologia 0.43.16a1. The docs round on #701 found the cells; I re-ran each one.
Observed
Four languages have writers for some nice_* functions, and the other functions raise NotImplementedError.
| lang | works | raises |
|---|---|---|
| an | nice_date, nice_date_time, nice_year, and the other date writers | nice_duration, nice_relative_time ("Unsupported language: an - please translate ...") |
| fy | nice_date, nice_date_time, nice_year, and the other date writers | nice_duration, nice_relative_time |
| id | nice_duration ("lima menit"), nice_relative_time | nice_date, nice_date_time, nice_year ("Unsupported language: id"), after the warning "could not find .../res/id/date_time.json" |
| ms | nice_duration ("lima minit"), nice_relative_time | nice_date, nice_date_time, nice_year, after the same warning for res/ms |
Expected
Every writer works for a language that the package lists. id and ms need res/<lang>/date_time.json. an and fy need the duration words in res/<lang>/.
Reproduce
import datetime as dt, ovos_date_parser as o
d = dt.datetime(2026, 11, 25, 15, 10)
for lang in ("an", "fy", "id", "ms"):
for f in (lambda: o.nice_date(d, lang), lambda: o.nice_duration(dt.timedelta(minutes=5), lang)):
try: print(lang, f())
except NotImplementedError as e: print(lang, "NotImplementedError:", e)
Where
ovos_date_parser/res/: id and ms have no date_time.json; an and fy have no duration data for the shared writer. The writer matrix of #701 (docs/img/writer_coverage.png) shows the same 10 cells.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 8
- Merge trung bình
- 13 giờ 26 phút
- Pull request đã merge (30 ngày)
- 77
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 OpenVoiceOS/ovos-date-parser
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 63/100
OpenVoiceOS/ovos-date-parser#684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
OpenVoiceOS/ovos-date-parser#659 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dependency DashboardĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
OpenVoiceOS/ovos-date-parser#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Inconsistent parameter naming across language handlersCó thể làm lại được @JarbasAl đã nhận 745 ngày trước và không có pull request nào đang mở. Đang mở
OpenVoiceOS/ovos-date-parser#66 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Uncomment and fix Persian time parsing test casesCó thể làm lại được @JarbasAl đã nhận 749 ngày trước và không có pull request nào đang mở. Đang mở
OpenVoiceOS/ovos-date-parser#54 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenVoiceOS/ovos-date-parser
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gke-labs/kube-agents#7441 ·
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 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
issue: a reply cut off by a dropped model connection loses its text when the chat is reloadedĐang mởbug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
open-webui/open-webui#35142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày