XCP 2.1 Hijri Date

Mohamed_Khayri
edited July 31, 2014 in Documentum #1

Can anyone help me to add Hijri Date in place of Gregorian Date in XCP 2.1 implementation form?

Or Anybody has a work around to avoid this scenario.

Tagged:

Comments

  • elboukhari
    edited July 31, 2014 #2

    Hi,

    XCP 2.X UI is based on sencha EXTJS framework ( for 2.1 it is EXTJS 4.2 )

    EXTJS does not have an implémentation of hijri calendar.

    one option you may consider ( it is not pretty as a date Picker ) is to have a classic date field ( 3 drop down list with days /month & Years and this can be initiated using picklists for days & month Labels)

    you need also to manager the storage of your date to avoid Errors

    ( an exemple to ckech is that  if you store as date field 02/30/1435 as mm/dd/yyyy this may crash since february can have only 28/29 days ) 

    if you store this as string value you need to implement/use toolbox for date conversion .

    a more brave option is to create a custom widget using jquery plugins ( some plugins are available) but for this you need to make jquery and extjs integration and also make some update for CSS for your display and for sure storing the date value can be an issue too.

    Otman

  • Mohamed_Khayri
    edited July 31, 2014 #3

    Thanks Otman ELBOUKHARI

    Do you have any ready made plugin for Hijri Date or any ready made solution for this component?

    Do you have any documentation how to implement Hijri Date on xCP?

    Thanks in advance......