Calendar: jalali Calendar not show the month in persian

Created on 16 May 2020  Â·  13Comments  Â·  Source: nextcloud/calendar

Dear All
As I found out in full calendar 4.x when you set the locale to fa and import fa.js the calendar will show you the month in Persian, but in Nextcloud I changed both the local and language to Persian but still show the month in hole system (calendar, date picker, time in setting) in Georgian.
So I search and can not find the problem.

0. to triage bug

Most helpful comment

All 13 comments

please use the issue template as described in our contributing guidelines

Unless you fill out the issue template completely including all logs, we can't go ahead and help you.

Dear George
It is good that we didn't find any error you can check it in your installed nextcloud change the language and local to Persian and you should see th month be اردیبهشت now but it say می, the اردیبهشت is the month of Jalali (shamsi) but the می is may the Georgian month.
So please help me and tell me the exact log file I will send to you.

You can omit the log, but please fell everything else. Config, reproduction steps, expected behavior, actual behavior, ...

Ok I will make all these and send here the informations needed, but this problem is more obvious than need these things

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@georgehrke It does not depend on nextcloud version or another configs. Just set your locale to Persian (fa_IR) and open the calender app. You will see that day in month does not start from 1, because there are English months in Persian calendar.

Please reopen the issue.

Are you saying that the calendar is not correctly translated or is it that we only support the Gregorian calendar at the moment?

I think this screen shot explain better:

nextcloud-bug

The month is October 2020 and it start from 10, because 1 October equals to 10 Mehr. It should start from 1 and show "Mehr 1399" instread of "October 2020".

Okay, so you would like to have support for calendaring systems other than the Gregorian calendar.

Here is an upstream issue in the FullCalendar Lib we are using: https://github.com/fullcalendar/fullcalendar/issues/1813

The calendar is supported now in fullcalendar 4 but now is not shown what is supported in fullcalendar in your nextcloud calendar app

@nimaam Can you please link the upstream ticket?

The one i referenced above about jalaali date system support is still open:
https://github.com/fullcalendar/fullcalendar/issues/1813

It's still a work in progress, but in full calendar demo the month is شهریور ۱۳۹۹ - مهر ۱۳۹۹ instead of september 2020 which is better and I think can make work easier when upstream issue is solved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jancborchardt picture jancborchardt  Â·  3Comments

raimund-schluessler picture raimund-schluessler  Â·  3Comments

juliushaertl picture juliushaertl  Â·  4Comments

GLLM picture GLLM  Â·  4Comments

scorewinner picture scorewinner  Â·  3Comments