Quote:
I think they will never or not able fix this problem.
I did looked into this and that's what I found (and hopefully, I didn't make any mistake - so please test it):
1) The error what he was getting happens normally when he was using an older translation that didn't have defined the "_CAL_FORMAT" in /language/xxx/calendar.php like this or something similar:
define('_CAL_FORMAT',"Y-m-d");
To test it, in your local language comment it out, and try it.
2) Replacing "_CAL_FORMAT" by "_SHORTDATESTRING" in "formtextdateselecte.php was just a shortcut to get the value
3) However, as long as you were using in the "_SHORTDATESTRING" the value "m", e.g.:
define('_SHORTDATESTRING','m/d/Y');
then it was working fine. But there was a bug in calendar.js for value "n", like here:
define('_SHORTDATESTRING','n/j/Y');
Normally it was not visible, because we had hard-coded in calendar.php:
define('_CAL_FORMAT',"Y-m-d");
I fixed that now, and also assigned the "_SHORTDATESTRING" to "_CAL_FORMAT":
define('_CAL_FORMAT',_SHORTDATESTRING);
so there should be no more problems, as long as "_SHORTDATESTRING" language variable is defined in your "global.php" local language files.
I have committed the code to XOOPS SVN, so please test it in your local langugaes and let us know if it works for you...