What is the rule to use date/time format? I see there are “dateFormat” and “dateFormatPHP” defined in gibboni18N table, but seems not used systemwide. While adding new modules, is it good to follow this column definition? Or any rule I need to follow to use date/time format?
Thanks.
Alex
These session variables are set on login and depend on a) system-wide language setting b) personal language setting and c) session language setting. These variables should be used all around the system to set the format so the user enjoys a consistent experience. We did find some instances in v9.1 that were not using the variable, and these have been fixed in v10. If you want to check your instances against the dev code (https://github.com/GibbonEdu/core/tree/Gibbonv9.2.00), you can see if they have been fixed, if not, let us know.
It just occurred to me that as additional modules are not yet translatable, some of them might have date issues like this. If you spot any, please do let me know.
OK, I have searched (thanks for the tip ; ) and found and fixed all outstanding interface references. There are still some references to date(“d/m/Y”), but these are not in the interface, they are only behind the scenes.