ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Calendars to support secondary calendar type

Open allen138 opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe. This enhancement will help to improve support for Islamic Calendars. Some dates throughout an application might be in Gregorian. For a user who prefers an Islamic Calendar, it might be confusing which date is correct. Having a Calendar with a Primary type=Islamic and a Secondary type=Gregorian will help the user to see the correlation between the two dates.

Describe the solution you'd like This type of enhancement is currently available with sap.ui.unified.Calendar. Please see: sapui5 sample It would be nice to have this same feature be available for the ui5-calendar as well as the ui5-date-picker

Additional context Please reach out via slack or comment below if you have any question. Thanks, Allen

allen138 avatar May 17 '21 21:05 allen138

FYI @DMihaylova: you can find this feature request in the Planning section

ilhan007 avatar May 18 '21 06:05 ilhan007

The feature request is implemented

fifoosid avatar Aug 31 '21 08:08 fifoosid

The feature is not available for ui5-date-picker yet so I reopen the issue until we have it there.

petyabegovska avatar Aug 31 '21 09:08 petyabegovska

Thanks for the headsup @petyabegovska. Now both ui5-calendar & ui5-datepicker expose the secondaryCalendarType property

fifoosid avatar Aug 31 '21 13:08 fifoosid