Summary: | Digital Clock widget in plasma shows wrong month name for Persian calendar | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Kian kazem <lordkian2000> |
Component: | Digital Clock | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | qydwhotmail |
Priority: | NOR | ||
Version: | 5.26.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/commit/6d95df9e63be399940dd358f4934db5d1d75999a | Version Fixed In: | 5.27 |
Sentry Crash Report: |
Description
Kian kazem
2022-12-18 16:16:39 UTC
Do you have a full list of month names in Persian calendar? A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/295 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kdeclarative/-/merge_requests/165 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/296 Git commit 641153538b341a7d1fd00ac62b48c5c6a5704fdd by Fushan Wen. Committed on 19/12/2022 at 14:32. Pushed by fusionfuture into branch 'master'. alternatecalendar: port `QDate` to `QCalendar::YearMonthDay` Not all dates from some alternate calendar systems can be accommodated by QDate, for example, in Persian calendar, the second month has 31 days. QCalendar::YearMonthDay is a data structure to solve the problem. `alternateDateReady` is not changed since more changes will depend on some changes in KF6. FIXED-IN: 5.27 M +3 -2 plasmacalendarplugins/alternatecalendar/alternatecalendarplugin.cpp M +3 -3 plasmacalendarplugins/alternatecalendar/provider/abstractcalendarprovider.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/abstractcalendarprovider.h M +2 -2 plasmacalendarplugins/alternatecalendar/provider/icucalendar_p.cpp M +3 -2 plasmacalendarplugins/alternatecalendar/provider/icucalendar_p.h M +4 -4 plasmacalendarplugins/alternatecalendar/provider/indiancalendar.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/indiancalendar.h M +12 -8 plasmacalendarplugins/alternatecalendar/provider/qtcalendar.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/qtcalendar.h https://invent.kde.org/plasma/kdeplasma-addons/commit/641153538b341a7d1fd00ac62b48c5c6a5704fdd Git commit 9b5d4276f5b109eeaa0789f120d867e716ed6346 by Fushan Wen. Committed on 19/12/2022 at 13:11. Pushed by fusionfuture into branch 'master'. calendarevents: add new alternate date ready signal and deprecate the old one Some calendar systems, like Persian, do not always fit in Gregorian date. For example, there are 31 days in the 2nd month (Ordibehesht), and QDate can't store the date, hence use QCalendar::YearMonthDay instead. M +12 -1 src/calendarevents/calendareventsplugin.h https://invent.kde.org/frameworks/kdeclarative/commit/9b5d4276f5b109eeaa0789f120d867e716ed6346 Git commit 6d95df9e63be399940dd358f4934db5d1d75999a by Fushan Wen. Committed on 19/12/2022 at 17:00. Pushed by fusionfuture into branch 'cherry-pick-64115353'. alternatecalendar: port `QDate` to `QCalendar::YearMonthDay` Not all dates from some alternate calendar systems can be accommodated by QDate, for example, in Persian calendar, the second month has 31 days. QCalendar::YearMonthDay is a data structure to solve the problem. `alternateDateReady` is not changed since more changes will depend on some changes in KF6. FIXED-IN: 5.27 (cherry picked from commit 641153538b341a7d1fd00ac62b48c5c6a5704fdd) M +3 -2 plasmacalendarplugins/alternatecalendar/alternatecalendarplugin.cpp M +3 -3 plasmacalendarplugins/alternatecalendar/provider/abstractcalendarprovider.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/abstractcalendarprovider.h M +2 -2 plasmacalendarplugins/alternatecalendar/provider/icucalendar_p.cpp M +3 -2 plasmacalendarplugins/alternatecalendar/provider/icucalendar_p.h M +4 -4 plasmacalendarplugins/alternatecalendar/provider/indiancalendar.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/indiancalendar.h M +12 -8 plasmacalendarplugins/alternatecalendar/provider/qtcalendar.cpp M +1 -1 plasmacalendarplugins/alternatecalendar/provider/qtcalendar.h https://invent.kde.org/plasma/kdeplasma-addons/commit/6d95df9e63be399940dd358f4934db5d1d75999a Can only be fixed in 5.27 since a new string is added |