Fwd: Our effort in hijri date

Reinhold Kainhofer reinhold at kainhofer.com
Sun Dec 7 19:19:29 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 7. Dezember 2003 17:38 schrieb Simon Hausmann:
> KDE has an abstraction layer for different calendar systems
> (developed by Hans Petter Bieker and Carlos Moro) , which is also
> for example what the date picker in KDE's clock applet or KOrganizer
> uses.
>
> That would be the best place to provide an implementation for your
> Hijri calenda, because it means adding your code in only one place
> and applications dealing with calendars would immediately get
> support for it, without further modifications.

Isn't Hijiri already supported by KCalendarSystem in current CVS? IIRC (I 
don't have a machine running CVS at hand), you can select it in the control 
center -> Regional & Accessibility -> Country & Language -> Time & Dates.

The Date picker will display the dates in the new calendar system.

I noticed on the screenshot that both Gregorian and Hijiri dates are 
displayed. Is that common in countries with different calendar systems, or is 
it sufficient to always show the dates just in the selected calendar system 
(e.g. only the Hijiri dates)?

I'm not sure if we really caught all places where KCalendarSystem needs to be 
used (I fixed several things in KOrganizer's date picker, but didn't really 
pay too much attention to calendar systems, as hardly know anything about 
other calendars, anyway. So chances are, I got something wrong). It would be 
great, if someone "native" could cross-check how KOrganizer works in other 
calendar systems. 

Right-To-Left systems as well as other calendar systems are not so well 
tested, since most developers have LTR systems and the Gregorian calendar, so 
bugs won't be noticed by all developers. If you find any problems (like the 
serious RTL issues reported as 
http://bugs.kde.org/show_bug.cgi?id=41693
http://bugs.kde.org/show_bug.cgi?id=66586
There are not calendar system bugs reported yet), please file bug reports.

Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/031CTqjEwhXvPN0RAn6rAJ4v8E9Plk56VqGDPttwKVQzNmV3ywCgnjAD
VQmNCeeYaYilFwkVIwtYWGY=
=Leix
-----END PGP SIGNATURE-----
_______________________________________________
kde-pim mailing list
kde-pim at mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/




More information about the kde-core-devel mailing list