Persian calendar

Calendars ::: calendartype_jalali
Maintained by Shamim Rezaie
This plugin provides Jalali calendar support for Moodle
Latest release:
551 sites
166 downloads
40 fans
Current versions available: 2

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

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

Comments RSS

Rodyti komentarus
  • Amin Farajzadeh
    an, 12 gruod. 2017, 13:50
    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);
  • Moien Abadi
    sk, 31 gruod. 2017, 17:37
    Hi
    I suggest to solve this issue as Amin reported (problem in profilefield datetime for PersianCalendar) in new version of Moodle.
    Thanks
  • Payman Zafar
    pr, 18 birž. 2018, 16:33
    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.
  • Shamim Rezaie
    pr, 18 birž. 2018, 16:41
    Thank you, Payman for your interest in the plugin. Please file a ticket at https://github.com/rezaies/moodle-calendartype_jalali/issues.
  • AVECEN Co
    št, 29 gruod. 2018, 17:18
    Hi, may I ask when the plugin will be updated for moodle 3.6?
  • mahsa kmehr
    an, 21 geg. 2019, 17:15
    Hi, this plugin does not work for moodle 3.6.2. How can I have a persian calendar for moodle 3.6.2?
  • Amir Fouladvand
    pn, 20 kov. 2020, 03:38
    Hi there
    It is not working with version 3.8 STABLE of IOMAD, Im not sure about original moodle v 3.8 but I think there may be same behavior.
    after install, Persian option appears on Appearance ---> Calendar, but after changing option to Persian, calendar , over the system, dates are still Gregorian.
  • am laskoo
    št, 11 bal. 2020, 13:01
    سلام. یه مشکلی در این پلاگین به وجود اومده اگر میشه برطرفش کنید خیلی متشکرم.
    وقتی وارد دیباگینگ مد مودل میشم این ارور رو چندین بار لیست میکنه ممنون میشم ببینید مشکل از کجاست:
    Warning: A non-numeric value encountered in /var/www/html/moodle/calendar/type/jalali/classes/structure.php on line 356
  • Misha kari
    tr, 15 bal. 2020, 18:19
    Hi, install this calendar on moodle3.8.2, how can I replace Gregorian calender with Jalali?
    Thanks
  • Amin Khoramian
    kt, 14 geg. 2020, 21:36
    Hi everyone
    It seems that it doesn't work for 3.8 version! Is it right?
  • hadi shahbazi
    kt, 23 liep. 2020, 23:13
    سلام و ادب
    تقویم با مودل های 3.8 و 3.9 مشکل داره
    و اعداد تاریخ ها به هم میریزه
    یه بررسی می کنید
    تو فروم طرح کردم
  • محمد جعفرزاده
    pr, 31 rugp. 2020, 14:59
    I have a problem
    my vesion of moodle 3.9
    We encounter this error when the BigBlueBottun Activity is running
    Warning: A non-numeric value encountered in /var/www/html/moodle/calendar/type/jalali/classes/structure.php on line 356


  • Okhtay Gh
    sk, 27 rugs. 2020, 07:32
    any news with Line 356 ?
  • Shamim Rezaie
    kt, 15 spal. 2020, 20:43
    Okhtay,
    Use the latest version from GitHub
  • ali hamze
    št, 28 rugp. 2021, 03:12
    سلام
    من درحال طراحی یک افزونه هستم
    میخواستم در افزونه ام از تاریخ شمسی استفاده کنم
    چگونه باید از توابع شما کمک بگیرم
    باتشکر
1 2 3
Please login to post comments