Hi,
I'm using Mantis in french. And the dates are displayed like this:
mm/dd/yyyy or mm/dd/yy
In french, the dates should be: dd/mm/yyyy or dd/mm/yy.
Is there a way to fix this?
Thanks
Issue with date format?
Moderators: Developer, Contributor
Re:Issue with date format?
Hi Meow the Catz,
Try this, hope to help you.
http://www.php.net/manual/en/function.date.php
Then you have to change it in, config_defaults_inc.php. Exactly in the "date format settings".
Try this, hope to help you.
http://www.php.net/manual/en/function.date.php
Then you have to change it in, config_defaults_inc.php. Exactly in the "date format settings".
Best Regards,
ZakMan
ZakMan
The config_defaults_inc.php is meant to have the default configuration as shipped with Mantis, editing this file will work, but will cause the configuration to be lost when you upgrade.
The change should be done by setting this configuration option in config_inc.php. Copy the option from config_default_inc.php to config_inc.php and edit it's value in config_inc.php.
The change should be done by setting this configuration option in config_inc.php. Copy the option from config_default_inc.php to config_inc.php and edit it's value in config_inc.php.
Migrate your MantisBT to the MantisHub Cloud
I forgot to paste the configuration options:
Code: Select all
# --- date format settings --------
# date format strings defaults to ISO 8601 formatting
# go to http://www.php.net/manual/en/function.date.php
# for detailed instructions on date formatting
$g_short_date_format = 'Y-m-d';
$g_normal_date_format = 'Y-m-d H:i';
$g_complete_date_format = 'Y-m-d H:i T';Migrate your MantisBT to the MantisHub Cloud