Issue 79796 - Implement Persian calendar
Summary: Implement Persian calendar
Alias: None
Product: Internationalization
Classification: Code
Component: i18npool (show other issues)
Version: OOo 2.2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Blocks: 96765
  Show dependency tree
Reported: 2007-07-19 15:49 UTC by hamidi
Modified: 2017-05-20 11:13 UTC (History)
3 users (show)

See Also:
Issue Type: FEATURE
Latest Confirmation in: ---
Developer Difficulty: ---

persian calendar support for openoffice DEV300_m41 (11.26 KB, patch)
2009-02-14 06:45 UTC, momeni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description hamidi 2007-07-19 15:49:37 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
Comment 1 ooo 2007-07-20 13:10:03 UTC
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?

Comment 2 ooo 2007-07-20 13:11:39 UTC
Link above should read instead.
Comment 3 farzaneh 2007-07-21 16:12:56 UTC
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.
Comment 4 momeni 2009-02-14 06:45:15 UTC
Created attachment 60157 [details]
persian calendar support for openoffice DEV300_m41
Comment 5 ooo 2009-03-02 12:59:37 UTC
@momeni: I can only repeat here what I already said on the dev@ mailing list,

Please note that to integrate code or data contributed we need a signed
Contributor Agreement form (SCA) filled-out, see

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

@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?

Comment 6 Marcus 2017-05-20 11:13:30 UTC
Reset assigne to the default "".