16
1.3-rc / Re: Calendar - Recurring events starting in a future month
« on: March 08, 2009, 01:37:14 pm »
The date format must be changed in lang.js and general.php and it must be like that :
'date format' => 'd/m/Y',
My observation is that it is better to use capital 'Y' at the end.
I have changed all m/d/y in the following files to d/m/y and for now the installation works fine and there are no date mistakes, but it's too early to tell.
There are hardcoded dates m/d/Y format in :
assets/javascript/extjs/ext-all.js
assets\javascript\extjs\ext-all-debug.js
assets\javascript\ogmin.js':
In "imageChooser.js" there is a hardcoded date as well:
var formatData = function(data) {
data.shortName = og.clean(data.name.ellipse(15));
data.sizeString = og.clean(formatSize(data));
data.dateString = new Date(data.lastmod).format("m/d/Y g:i a");
this.lookup[data.name] = data;
return data;
};
Please correct this, i know that this is part of the js framework, but it would be nice if that functions checks for the selected date format as well...
Cheers ...
'date format' => 'd/m/Y',
My observation is that it is better to use capital 'Y' at the end.
I have changed all m/d/y in the following files to d/m/y and for now the installation works fine and there are no date mistakes, but it's too early to tell.
There are hardcoded dates m/d/Y format in :
assets/javascript/extjs/ext-all.js
assets\javascript\extjs\ext-all-debug.js
assets\javascript\ogmin.js':
In "imageChooser.js" there is a hardcoded date as well:
var formatData = function(data) {
data.shortName = og.clean(data.name.ellipse(15));
data.sizeString = og.clean(formatSize(data));
data.dateString = new Date(data.lastmod).format("m/d/Y g:i a");
this.lookup[data.name] = data;
return data;
};
Please correct this, i know that this is part of the js framework, but it would be nice if that functions checks for the selected date format as well...
Cheers ...