In persian language if choose calendar to select a date you see an error.
Date is currct but day name incorrect.
if change this code in file date-helper.min.js the problem will be ok.
At end of this file (media/system/js/fields/calendar-locales/date/jalali/date-helper.min.js) change this code :
from : return t=(t+1)%7};
to : return t=(t)%7};
solved url
Solved file
Best Reg.
Alireza Balvardi
Priority | Critical | ⇒ | Medium |
Category | Language & Strings Multilanguage | ⇒ | JavaScript Language & Strings Multilanguage |
Status | New | ⇒ | Discussion |
I solved this problem.
I wait to update joomla and release this problem.
please see images.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-03 07:39:37 |
Closed_By | ⇒ | balvard |
Hi to everyone
This problem just see in persian language and refer to jalali script in joomla 3.7.x
for test you can download latest joomla version (3.7.4) and install persian language.
so login with persian language and add new article , then in publishing tab choose calendar and make print screen.
then download this file :
https://www.alirezabalvardi.ir/media/system/js/fields/calendar-locales/date/jalali/date-helper.min.js
and replace it on your joomla .
and open new article in new tab and select calendar.
Best Reg.
Alireza Balvardi
@infograf768 Yes, this problem was to persian calendar
with file replacement problem fixed
@infograf768 please do so if you can!
On it.
@farhadst @balvard
Please confirm #17432
If OK, mark test OK in https://issues.joomla.org/tracker/joomla-cms/17432
@dgt41 can you review/make a pull?