Bug 500298 - Feature request: Add Bikram Sambat, a calendar system, in Alternate Calendar plugin.
Summary: Feature request: Add Bikram Sambat, a calendar system, in Alternate Calendar ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 06:18 UTC by Pedr
Modified: 2026-09-01 17:08 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedr 2025-02-18 06:18:41 UTC
Request to add Bikram Sambat, a calendar system, in Alternate Calendar plugin.
Comment 1 Fushan Wen 2025-02-19 00:02:42 UTC
The libicu libraray doesn't support Bikram Sambat, so the alternate calendar plugin that depends on it needs to implement its own calendar system. Would you like to contribute?
Comment 2 Pedr 2025-02-19 16:33:54 UTC
(In reply to Fushan Wen from comment #1)
> The libicu libraray doesn't support Bikram Sambat, so the alternate calendar
> plugin that depends on it needs to implement its own calendar system. Would
> you like to contribute?

I wish I could, but I lack programming skills. I can try to find someone who would like to contribute.
Comment 3 sdp 2026-08-09 01:42:09 UTC
I have been maintaining a Bikram Sambat calendar plasmoid for KDE Plasma:
https://store.kde.org/p/2303034
I'd be interested in helping add Bikram Sambat support to KDE's Alternate Calendar framework.
One thing to note is that Bikram Sambat is generally data-driven rather than purely mathematical. Month lengths vary between years, and official calendar data is only available for a limited range. My current implementation supports dates up to 2100 BS (≈ 2043/2044 AD) using published calendar tables; beyond that, additional official data would need to be incorporated.

If KDE is open to this approach, I'd be happy to help with an upstream implementation.
Comment 4 Nate Graham 2026-08-12 19:08:04 UTC
Sure, please do!
Comment 5 Bug Janitor Service 2026-08-13 17:27:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/1113
Comment 6 Nate Graham 2026-09-01 17:08:52 UTC
Git commit 1445c417500c2a206691d0710005f64dc8efdaee by Nate Graham, on behalf of Satya Prakash Dahal.
Committed on 01/09/2026 at 17:08.
Pushed by ngraham into branch 'master'.

alternatecalendar: Add Nepali (Bikram Sambat) calendar support

Add Nepali (Bikram Sambat) calendar support to the alternate calendar plugin.
FIXED-IN: 6.8.0

M  +1    -0    plasmacalendarplugins/alternatecalendar/CMakeLists.txt
M  +5    -1    plasmacalendarplugins/alternatecalendar/alternatecalendarplugin.cpp
M  +5    -0    plasmacalendarplugins/alternatecalendar/calendarsystem.h
A  +270  -0    plasmacalendarplugins/alternatecalendar/provider/nepalicalendar.cpp     [License: GPL(v2.0+)]
A  +30   -0    plasmacalendarplugins/alternatecalendar/provider/nepalicalendar.h     [License: GPL(v2.0+)]

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/1445c417500c2a206691d0710005f64dc8efdaee