Apache OpenOffice (AOO) Bugzilla – Issue 79796
Implement Persian calendar
Last modified: 2017-05-20 11:13:30 UTC
It seems Persian date and corresponding calendar module is not correctly implemented. When inserting date field, it is not as today's date in Jalali Calendar (Iranian Calendar). To test this issue, following steps can be traced. 1- Enable Farsi Locale for OOo. 2- In writer application, go to "insert" menu, then "fields" sub-menu. 3- Select "Other" option (Ctrl+F2). 4- Select "Date" type. 5- Select Iranian "Format" (جمعه 31 اسفند 1999) 6- Click "Insert" button. The date inserted doesn't meet with correct Iranian Calendar. I am sure that the system date is correct. For example today Gregorian date in my computer clock is 19 July 2007. The corresponding Jalali (Iranian) date should be 28 Tir 1386 (۲۸ تیر ۱۳۸۶). But OOo shows 19 Mehr 2007
The Persian calendar available with the number formats is not implemented, therefor the Gregorian calendar is used as a fall-back, hence 2007-x-19 is diplayed. See also issue 61383#desc13 Support of Persian started last year but somehow got stuck. Cc'ing 'farzanehs' for this, hoping that she still works on it. Farzaneh, what are the plans about completing support for Persian? Eike
Link above should read http://qa.openoffice.org/issues/show_bug.cgi?id=61383#desc13 instead.
Thanks for CC'ing me, Eike. I know an accurate, well-licensed calendar algorithm, and have been meaning to implement it for a while. I'd gladly help if anyone volunteers to do this.
Created attachment 60157 [details] persian calendar support for openoffice DEV300_m41
@momeni: I can only repeat here what I already said on the dev@ mailing list, http://www.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=24235 Please note that to integrate code or data contributed we need a signed Contributor Agreement form (SCA) filled-out, see http://wiki.services.openoffice.org/wiki/Sun_Contributor_Agreement I see some obstacle though with the contribution: it uses code published elsewhere copyrighted by other people, and even if their code is available under LGPL v2.1 or later they would formally have to contribute their code to OOo under the SCA. Could you please get in contact with the original authors to clarify and ask them to sign the SCA and contribute their code? See also the FarsiWeb contact mentioned in the original source at http://www.farsiweb.info/jalali/jalali.c @farzanehs: It seems the original Jalali code was developed at FarsiWeb you're associated with, it might even be the implementation of the algorithm you mentioned. Could you share any insights? Or even contact the copyright holders to contribute the code? Thanks Eike
Reset assigne to the default "issues@openoffice.apache.org".