?
avatar rasouldanesh90
rasouldanesh90
17 Apr 2020

Hello
We choose a solar date
On some dates, a unit is added to the month or day, and we reopen the calendar or save the content.
The Joomla version I am using is 3.9.12.

@farhadst
@dgrammatiko

avatar rasouldanesh90 rasouldanesh90 - open - 17 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 17 Apr 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Apr 2020
avatar rasouldanesh90 rasouldanesh90 - change - 17 Apr 2020
The description was changed
avatar rasouldanesh90 rasouldanesh90 - edited - 17 Apr 2020
avatar rasouldanesh90 rasouldanesh90 - change - 17 Apr 2020
The description was changed
avatar rasouldanesh90 rasouldanesh90 - edited - 17 Apr 2020
avatar infograf768
infograf768 - comment - 17 Apr 2020

Is this the solution ?
#28700
Please test.

avatar rasouldanesh90
rasouldanesh90 - comment - 17 Apr 2020

I tested your solution, no change
I think this problem should be in the file
media / system / js / fields / calendar.js
Lines 1014 to 1042 that change the value "data-alt-value" when the calendar opens

avatar infograf768
infograf768 - comment - 17 Apr 2020

This file has not been touched for years and is a dynarch project. I would not touch it even with twisters...

avatar richard67
richard67 - comment - 17 Apr 2020

@rasouldanesh90 3.9.12 is a bit old, current version is 3.9.16, and 3.9.17 will be released soon. You should keep your Joomla always up to date because of security patches. Beside this, could you check if the corrections from pull requests #28596 and #17859 solve that issue? You should apply both changes together.

avatar infograf768
infograf768 - comment - 17 Apr 2020

Also, please specify some dates concerned (in gregorian format)

avatar balvard
balvard - comment - 20 Apr 2020

This error appeared when you want to declare personal function to control date in persian
and we need return true date but returned null
In gregorian is true
But joomla team forget to return true data for those function

avatar infograf768
infograf768 - comment - 21 Apr 2020

@balvard
It is impossible to do anything if you do not explain exactly (with code) what you want to do and where precisely, in your opinion, is the error in the js files.
fa-IR is using a custom calendar.js file which is installed in media/fa-IR/js/
Here is its uncompressed version
calendar-uncompressed.js.zip

avatar Quy Quy - change - 23 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-23 23:13:47
Closed_By Quy
avatar Quy
Quy - comment - 23 May 2020

Closing due to lack of response. You can comment here and we can re-open the issue.

avatar Quy Quy - close - 23 May 2020

Add a Comment

Login with GitHub to post a comment