someone ask me how Can I show dates in processmaker in persian. I found a way just to pass this duty to him, and solve a problem.
Asked
Active
Viewed 560 times
1 Answers
3
first of all replace below in : workflow/engine/templates/cases/casesList.js
myDate.dateFormat( FORMATS.casesListDateFormat )
to
new persianDate(myDate.dateFormat( FORMATS.casesListDateFormat )).format()
it needs to include persianDate or any to library workflow/engine/methods/cases/casesListExtJs.php like bellow:
echo "<script src='/lib/pmdynaform/libs/datepicker/jalali/persian-date.min.js'></script>";
remember to upload js libraries in destination indicated above.

Hamid Shariati
- 546
- 6
- 18
-
Thanks, Which files should be modified to change the date in the design pages? – Majid Zandi Jan 08 '23 at 13:56
-
it depends on the endpoint. tell me more details be able to help. – Hamid Shariati Jan 09 '23 at 06:36
-
What is the best way to contact you? – Majid Zandi Jan 10 '23 at 06:06