Hi
I want to add support for Persian (Jalali) calendar to Ofbiz, so that the user can see dates in Jalali format like " دوشنبه - ۱۹ آبان ۱۳۹۳" and choose dates from Jalali calendar. I found a thread which says that Ofbiz currently supports Jalali calendar: http://ofbiz.135035.n4.nabble.com/Re-Support-for-non-gregorian-calendars-td4645741.html And I found another suggestion to add Jalali calendar support to ofbiz in this thread: http://www.opentaps.org/forum/opentaps-general-discussions/general-discussions-english/adding-non-gregorian-calendar I am confused that whether does Ofbiz support Jalali calendar or not and how can I enable or add Jalali calendar to Ofbiz. would you please give me some tips on how to do this? Regards, Ayyoob Imani |
Administrator
|
I don't know what is your situation now, but the opentaps thread is and old one. It's now almost 5 years that we replace calendar.js by jQuery addons
in OFBiz. So it's available in all releases since R10.04 Once again: Opentaps *IS NOT* OFBiz, better to refer to Adrian's advice (I did not try myself) than Opentaps threads... Jacques Le 10/11/2014 20:05, ayyoob a écrit : > Hi > I want to add support for Persian (Jalali) calendar to Ofbiz, so that the > user can see dates in Jalali format like " دوشنبه - ۱۹ آبان ۱۳۹۳" and choose > dates from Jalali calendar. > I found a thread which says that Ofbiz currently supports Jalali calendar: > http://ofbiz.135035.n4.nabble.com/Re-Support-for-non-gregorian-calendars-td4645741.html > > And I found another suggestion to add Jalali calendar support to ofbiz in > this thread: > http://www.opentaps.org/forum/opentaps-general-discussions/general-discussions-english/adding-non-gregorian-calendar > > I am confused that whether does Ofbiz support Jalali calendar or not and how > can I enable or add Jalali calendar to Ofbiz. > would you please give me some tips on how to do this? > > Regards, > > Ayyoob Imani > > > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/support-for-non-gregorian-calendar-tp4658070.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Thanks jaques for you reply, I decided to use my own Jalali datepicker to get jalali dates from user and convert it to Gregorian date before posting it to server, I changed "framework/widget/template/htmlFormMicroLibrary.ftl" and "framework/common/widget/commonscreens.xml#GlobalActions" files to add my own jquery addon. now I want to convert Gregorian dates to Jalali dates before sending them to client. my question is where is the best place to convert dates? is there any specific function Ofbiz calls for every date field before sending it to client?On Sun, Nov 16, 2014 at 8:38 PM, Jacques Le Roux [via OFBiz] <[hidden email]> wrote: I don't know what is your situation now, but the opentaps thread is and old one. It's now almost 5 years that we replace calendar.js by jQuery addons -- .
. . Ayyoob Imani BSC student of Computer Engineering Iran University Of Scince & Technology (IUST) [hidden email] |
Free forum by Nabble | Edit this page |