Calendars: Persian calendar

calendartype_jalali
Maintained by Picture of Shamim RezaieShamim Rezaie
This plugin provides Jalali calendar support for Moodle
166 sites
179 downloads
19 fans
Current versions available: 1

The Jalali calendar (also known as the Modern Iranian calendar or the Solar hijri calendar) is a solar calendar which is the official calendar in Iran and Afghanistan.

The calendar type system was introduced in 2.6, so this will not work in any Moodle versions earlier than this.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Shamim Rezaie
Shamim Rezaie (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of maryam norouzi
    Tue, Apr 26, 2016, 4:19 PM
    Hi dear friends
    I have installed jalali plugin and selected jalali in my site in site administrator/appearance/calendar/calendar type . but calendar of my site is still gregorian.
    what should i do to fix it?
  • Picture of maryam norouzi
    Tue, Apr 26, 2016, 5:40 PM
    Hello again
    I understood how to fix it but now I have another problem. When nobody has logged in to my site, every thing is english. I mean calendar is jalali but month's name and all menus are english. Once any body logs in, every thing turn to persian. What's the problem?

    Regards
  • Picture of maryam norouzi
    Tue, Apr 26, 2016, 5:44 PM
    I fixed it my friends, LOL
  • Picture of ali azar
    Sun, Dec 11, 2016, 5:59 PM
    I have same problem mrs maryam norouzi. plz guide me
  • Picture of Shamim Rezaie
    Sun, Dec 11, 2016, 9:13 PM
    Hi Ali,

    You need to "change" the calendar you want to use to the Persian calendar.
    You can change your site's default calendar in "Site administration ► Appearance ► Calendar"
    Also, site users can change it for themselves by editing their profile (Moodle 3.1 and below) or by going to their preferences page (Moodel 3.2)
  • Picture of maryam norouzi
    Mon, Dec 12, 2016, 12:40 PM
    Yes Shamim, the problem was that smile
  • Picture of alireza zare
    Fri, Mar 24, 2017, 4:39 AM
    hi
    i use moodle3.2 and install this dalender but not hijri in curser details
    plz help me
  • Picture of Shamim Rezaie
    Mon, Mar 27, 2017, 7:57 AM
    Hi Alireza,
    Unfortunately, I didn't understand your problem.
  • Picture of Amin Farajzadeh
    Sat, Dec 9, 2017, 7:06 PM
    hi

    When I add a new User profile field of type Date/Time . when I want to pick a date in Edit profile page it automatically changes after save .
  • Picture of Amin Farajzadeh
    Tue, Dec 12, 2017, 1:50 PM
    I found my answer . the profilefield_datetime plugin uses min and max date based on Gregorian calendar . I fixed my problem by convert to Gregorian date before processing date :

    In profilefield_datetime and in field.class.php and in "edit_save_data_preprocess" method I replaced This line :

    $datetime = userdate($datetime, '%Y-%m-%d-%H-%M-%S');

    by

    $datetime = date('Y-m-d-H-m-s', $datetime);
  • Picture of Moien Abadi
    Sun, Dec 31, 2017, 5:37 PM
    Hi
    I suggest to solve this issue as Amin reported (problem in profilefield datetime for PersianCalendar) in new version of Moodle.
    Thanks
  • Picture of Payman Zafar
    Mon, Jun 18, 2018, 4:33 PM
    Hi,
    I installed this calendar on Moodle 3.5 recently. Today I started using Moodle and I tried to enroll some students in a class with enrollment start and end times. After I saved the times, I found that they are reset to 1 Farvardin 1278.
    To solve the problem, I changed my calendar preference to Georgian, and revised the dates. It was correct.
    Again I changed the calendar to Persian. The enrollment dates were correct. I clicked on the save button without any changes. The dates again reset to 1 Farvardin 1278.
    Please help.
  • Picture of Shamim Rezaie
    Mon, Jun 18, 2018, 4:41 PM
    Thank you, Payman for your interest in the plugin. Please file a ticket at https://github.com/rezaies/moodle-calendartype_jalali/issues.
  • Picture of AVECEN Co
    Sat, Dec 29, 2018, 5:18 PM
    Hi, may I ask when the plugin will be updated for moodle 3.6?
  • Picture of mahsa kmehr
    Tue, May 21, 2019, 5:15 PM
    Hi, this plugin does not work for moodle 3.6.2. How can I have a persian calendar for moodle 3.6.2?
1 2
Please login to post comments