Here's a quote for you from Wikipedia:
"In Muslim-majority countries the legal work week in the Middle East is typically either Saturday through Wednesday (as in Algeria and Saudi Arabia), Saturday through Thursday (as in Iran) or Sunday through Thursday (as in Egypt, Syria, United Arab Emirates). For most Israelis, the work week begins on Sunday and ends on Thursday or Friday at noon to accommodate the Jewish Sabbath which begins Friday night."
This is something KDE hasn't handled up to now, resulting in calendar widgets that often didn't draw the weekend properly for the users locale. Another issue was the day of religious worship was tied to the calendar system, which caused issues for users in countries that use the Gregorian calendar but whose day of worship is not Sunday (e.g. Turkey, Israel, etc).
So I've added three new settings to KLocale in 4.2 to address this:
WorkingWeekStartDay - Defults to Monday
WorkingWeekEndDay - Defaults to Friday
WeekDayOfPray - Defaults to Sunday
Those locales that don't use the defaults can now set these values up correctly, and individuals can choose to override the settings for their locale in the Region/Date KCM. The kdelibs KDateTable widget now obeys these settings when drawing the weekend header and red-letters the day of worship, and I'm working on the kdepim widget too.
I haven't updated any of the actual i18n settings files yet, so this is a call-out to the i18n and l10n people who are better placed than I to know which locales need updating to either commit the updates themselves, or e-mail me with the required details and a definitive reference for me to confirm the details against. I will try work through the list myself at some stage, but any help is appreciated.
Something we're thinking about for 4.3 is also showing the locales public holidays in the kdelibs calendar widget like the kdepim widget does, but there's a few things to address before that happens. Part of this will be proper support for astronomically based calendar systems.
Comments
week day of rest?
Could WeekDayOfPray perhaps get a more neutral name? Not everybody is bound to a worldview which advises a day of pray.
The name WeekDayOfPray is
The name WeekDayOfPray is historic from KCalendarSystem, I would have preferred to name it DayOfReligiousObservance or DayOfReligiousWorship, but it was best to keep it backwards compatible. In the UI I do refer to it as Day of Religious Observance, and it will be changed in KDE5, whenever that is.
Just to clarify, this function is specifically to indicate which weekday is nominally for relious worship or observance in a locale and is totally independent from the working week. Days of rest are inherently those that are not working days. For athiests like myself, there is an option to choose a WeekDayOfPray of 'None'.
Thanks for your great
Thanks for your great job.
All you have to know for Israel is that the weekend is Friday-Saturday, and Sunday is the first day of the week, and it's a working day.
This has nothing to do with religion, but a set of rules which comes from the state.
How are you planning of supporting for holydays which come at the 3rd shabat of the 4th month (for example)? How about holydays based on the Hijri calendar? That is, while still leaving the default calendar the gregorian.
- diego
Part of the plan for 4.3 is
Part of the plan for 4.3 is to implement proper astronomical calender support, which Allen Winter plans to use in a re-write of libkholiday to support such tricky holiday calculations. Showing holidays from a different or multiple calendar systems and locales on a single calendar widget should be fairly easy, I'd just add an API to KDateTable where you pass in the locale that you want the holidays shown for.
You may not be aware of this as I don't think anyone has used it yet, but you can now actually have date widgets set to a different locale and thus calendar system than the global calendar system, i.e. you could have plasmoids on your desktop displaying the Hebrew and Hijri calendars while still keeping Gregorian as your system calendar system. I keep meaning to look at the new plasma calendar widget to see if it supports setting the calendar system, or if I need to add it in.
saç ekimi
As people in the saç ekimi past and Fut Hair Transplantation Unit of the full opening of the hair attachment saç ekimi merkezi method within the past year will continue to be very popular. Very easy and painless for the implementation of the saç ekimi fut hair, hair can be applied to almost everyone who lived about the problem. Not a private problem, a saç ekimi disturbance of the non-allergic people may prefer a method in which saç ekimi Hair going to saç ekimi merkezi share with you information ...
About holidays
Note that holidays are not only bound to countries. Here in Germany, we have 16 states with different holiday laws. For example, the 3th October is celebrated everywhere as the German Unity Day, but there are holidays specific to catholic or protestantic states, and some holidays are only celebrated in one or two states.
Scaling up to the whole world, one might have to handle holidays for some hundred or even thousand regions, but if you want to handle holidays, you will have to go through that.
Bug specific to recurring calendar events already in BKO
There already is a bug in bugs.kde.org for having items recur on calendars other than the Gregorian calendar:
http://bugs.kde.org/show_bug.cgi?id=149614