I want to change all DateTime values inside all pages in an Open Edx system (Bitnami release Ironwood 2.0) to Persian format. I found two ways to do that:
1- Add a new python module called 'django-jalali-date' at https://github.com/a-roomana/django-jalali-date, and also follow the instructions prepared at https://openedx.atlassian.net/wiki/spaces/AC/pages/30965856/How+to+add+a+new+feature+to+LMS+or+Studio, section How to add a new Django app to the edX platform.
2- Using http://ui-toolkit.edx.org/utilities/date-utils/
In option 1, I copied the 'jalali_date' folder to /opt/bitnami/apps/edx/edx-platform/openedx/features/jalali_date and added ('jalali_date', None)
in OPTIONAL_APPS section in /opt/bitnami/apps/edx/edx-platform/lms/envs/common.py. Then I tried to use this module in my view by: from jalali_date import datetime2jalali, date2jalali
. Unfortunately, I catch Internal Server Error, which says ImportError: No module named jalali_date.
In option 2, I couldn't find any relevant help, so I have no idea how to use this library.
Any help would be greatly appreciated.