corteza icon indicating copy to clipboard operation
corteza copied to clipboard

My Calendar Block in RTL language should change direction of drawing days from right to left and start day of week should be changed to.

Open Githubuser338 opened this issue 1 year ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Version of Corteza

2023.3.6

Current Behavior

When I use My Calendar in CRM application, when language is 'fa', Calendar type is correctly jalali but direction of calendar block and start day of week is incorrect. inactive days in calendar is still painted according to gregorian calendar.

Expected Behavior

Direction of days should be from right to left , and start day of week should be 'شنبه' or 'saturday'. inactive days in calendar in month view should be painted according to jalali calendar.

Steps To Reproduce

  1. change 'preferred language' in user profile.
  2. select 6 dot to return to main page.
  3. select CRM application
  4. go to home page

Environment and versions

No response

Anything else?

I RTL languages , Calendar type in calendar block (or Date picker component) should be changed according to selected language and country culture.

Githubuser338 avatar Sep 27 '23 09:09 Githubuser338

Thanks for reporting it

Fajfa avatar Oct 19 '23 08:10 Fajfa

it seems RTL is not in top of your periority list, because other module like report does not support rtl too. and of course controls like datepicker, calendar and kanban board should support other calendars too. it is a lot of work to do

Githubuser338 avatar Dec 09 '23 11:12 Githubuser338

Putting on hold for now since two issues have to be resolved:

  • broken classes for default views
  • broken views on view change

katrinDY avatar Feb 01 '24 11:02 katrinDY

Stale issue message

github-actions[bot] avatar Apr 02 '24 06:04 github-actions[bot]

Stale issue message

github-actions[bot] avatar Jun 13 '24 06:06 github-actions[bot]

Branch: 2023.9.x-feature-update-full-calendar-to-fix-persian-cal-issues

I managed to adjust the text direction according to the currently selected language by updating the cal library to the then latest verison but a lot of styles are broken for the different calendar views (day, month, week, agenda). What I would do is wait for a version where the styles aren't so broken

katrinDY avatar Aug 30 '24 10:08 katrinDY