| Summary: | kalarm uses gregorian calendar system for day number when adding reoccurring events in jalali calendar system | ||
|---|---|---|---|
| Product: | [Applications] kalarm | Reporter: | rezad1393 |
| Component: | general | Assignee: | David Jarvie <djarvie> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | rezad1393 |
| Priority: | NOR | ||
| Version First Reported In: | 2.10.12-ak | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
rezad1393
2015-03-06 14:24:25 UTC
KAlarm, along with Kontact and other KDE applications, is based on the iCalendar standard (https://tools.ietf.org/html/rfc5545). Unfortunately this currently only implements the Gregorian calendar, so recurrences can only be defined in terms of the Gregorian day numbers and months. Until the iCalendar specification is extended to handle other calendar systems (such as Jalali), or unless KDE adopts a different storage format, it won't be possible to fix the issue which you report. Note that when KDE displays dates in Jalali or other calendar systems, this is simply by converting a known Gregorian date. What is missing is the ability to calculate recurrences etc. using non-Gregorian calendars. So, it is quite likely to be a few years until your request can be implemented. Sorry. the thing is that the kalarm calculates the correct date( i think. i haven't tested it yet) but displays the Gregorian one. is that correct? if I add a occurring one in my jalali calendar system say for 4th of month does that run on 4th of next Gregorian or jalali one? what i mean is that is it not just showing the wrong date but actually running on wrong date? two other things. 1.why i cant edit my comment here? 2.can you tell me how does google calendar do it?does it use a proprietary something? If you set an alarm to recur on the same day every month, it will use the Gregorian day, not the Jalali one, to calculate when the next occurrence is, because it's all based on iCalendar which currently always uses the Gregorian calendar. So it doesn't matter whether you enter it as a Gregorian or a Jalali date, the calculations are always done using the Gregorian calendar (and in fact, the date is always stored as a Gregorian date in the calendar file, so afterwards, there is no record of the fact that the date was entered as a Jalali one). As for editing your comments here, Bugzilla unfortunately doesn't allow this. I also find it frustrating. I'm not familiar with Google calendar, so I don't know how or whether it can handle non-Gregorian calendars. I'm changing the category of this bug to a wishlist item, since without either a change to the iCalendar specification, or changing KAlarm to not use iCalendar (which would be a very major change), it is not possible to implement Jalali recurrences. |