Author |
|
mctis Newbie
Joined: 24 August 2008 Location: Italy
Online Status: Offline Posts: 4
|
Posted: 18 September 2008 at 5:48am | IP Logged
|
|
|
in admin section after I add an account, the date format
(awm_settings-def_date_fmt) is default. It's possible changhe
it in dd/mm/yy??
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 18 September 2008 at 6:47am | IP Logged
|
|
|
You can change date format in your account settings / Common / Default date format.
With regard to default value, currently, default date format for new accounts can be changed in the source code only. common\class_datetime.php file:
Code:
function GetDateFormatFromBd($bdDateFormat)
{
if (strtolower($bdDateFormat) == 'default' || strtolower($bdDateFormat) == 'default'.DATEFORMAT_FLAG)
{
$bdDateFormat = 'mm/dd/yy';
}
if (!$bdDateFormat) return '';
$l = strlen($bdDateFormat);
if ($l > 2 && substr($bdDateFormat, -2) == DATEFORMAT_FLAG)
{
return substr($bdDateFormat, 0, $l - 2);
}
return $bdDateFormat;
} |
|
|
Change 'mm/dd/yy' with necessary format.
Best regards,
Andrew
|
Back to Top |
|
|