The default date format of CBB is currently the US style of month\day, for example, the 15th January 2006 is, by default, 01/15.
If your country adopts an alternative style, you may want to change this. For example, in the UK, the date format is Day\Month\Year.
To adjust it, edit Frameworks/xoops22/language/english/user.php (or if you use an alternative language choose accordingly) as follows :
Change lines 15-18 from :
define("_TODAY", "Today G:i");
define("_YESTERDAY", "Yes\te\rday G:i");
define("_MONTHDAY", "[b]n/j[/b] G:i");
define("_YEARMONTHDAY", "[b]Y/n/j[/b] G:i");
to
define("_TODAY", "Today G:i");
define("_YESTERDAY", "Yes\te\rday G:i");
define("_MONTHDAY", [b]"d/m/y[/b] G:i");
define("_YEARMONTHDAY", "[b]d/m/y[/b] G:i");
or to whatever choosing you require in line with the PHP specification
http://uk.php.net/dateIf that does not work, check that you do not have values that overide the one's above in either of these two files :
XOOPS_ROOT/modules/newbb/language/english/main.php or XOOPS_ROOT/language/english/global.php
For further info see
this threadTed
wrong file!!
Ted,
Most helpful - I need to do the same thing - but just one point.....
You refer to:
Frameworks/xoops22/language/english/user.php
When, on my system, the file is:
Frameworks/xoops22/language/english/local.php
Thanks for the very helpful FAQ, btw - XOOPS search is your friend