cortezaproject / corteza

Low-code platform
https://cortezaproject.org
Apache License 2.0
1.64k stars 375 forks source link

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. #1461

Open Githubuser338 opened 1 year ago

Githubuser338 commented 1 year ago

Is there an existing issue for this?

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.

Fajfa commented 1 year ago

Thanks for reporting it

Githubuser338 commented 11 months ago

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

katrinDY commented 9 months ago

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

github-actions[bot] commented 7 months ago

Stale issue message

github-actions[bot] commented 5 months ago

Stale issue message

katrinDY commented 2 months ago

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

github-actions[bot] commented 3 weeks ago

Stale issue message