https://bugs.kde.org/show_bug.cgi?id=525300
Bug ID: 525300
Summary: Chinese alt calendar incorrectly maps 2027-02-06 to
lunar Dec 30 (New Year's Eve) instead of Jan 1 (New
Year's Day)
Classification: Plasma
Product: plasmashell
Version First master
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Digital Clock widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
DESCRIPTION
When the Digital Clock widget's "Alternate Calendar" is set to Chinese Lunar
Calendar (农历), the lunar date for 2027-02-06 is displayed as "大年三十" (the 30th
day of the 12th lunar month). However, according to the official Chinese lunar
calendar, the 12th lunar month of 2027 (Ding Wei, 丁未年) is a "small month" (小月)
with only 29 days. The last day of that month (除夕) is 2027-02-05, which is
correctly shown as "腊月二十九". The next day, 2027-02-06, should be the first day
of the new lunar year (正月初一), not the 30th of the previous month. This suggests
that the lunar calendar conversion logic fails to advance to the new month
correctly, possibly due to an off‑by‑one error in the data source.
STEPS TO REPRODUCE
1. Enable the Digital Clock widget in the system tray.
2. Open the widget's settings (right‑click → Configure Digital Clock).
3. Under the "Calendar" tab, enable "Alternate calendar" and select "Chinese
Lunar Calendar".
4. Close settings and click on the digital clock to open the calendar popup.
5. Navigate to February 2027.
6. Hover over or view the dates 2027-02-05 and 2027-02-06, and note the lunar
annotations.
OBSERVED RESULT
- 2027-02-05 shows "腊月二十九" (correct).
- 2027-02-06 shows "大年三十" (incorrect – this date does not exist in the lunar
calendar).
EXPECTED RESULT
- 2027-02-05 should remain "腊月二十九".
- 2027-02-06 should correctly show "正月初一" (the first day of the new lunar
year).
SOFTWARE/OS VERSIONS
Operating System:CachyOS Linux, kernel ver. 7.2.2-1-cachyos (64bit)
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
ADDITIONAL INFORMATION
Official source, from Purple Mountain Observatory, Chinese Academy of Sciences
(in Chinese):
http://www.pmo.cas.cn/xwdt2019/kpdt2019/202203/P020251230620718707826.pdf
--
You are receiving this mail because:
You are watching all bug changes.