Hello,
Is there some way for me to change the date and time that shows in Mantis to a different time zone (eg: New Zealand [UTC +12])?
I'm using version 1.2.0rc1
I don't have access to the php.ini file because I'm using shared web hosting.
Cheers,
Chris
Setting The Date
Moderators: Developer, Contributor
Re: Setting The Date
Hello
I'm with the same scenario, a help is welcome!
Greetings from Brazil.
I'm with the same scenario, a help is welcome!
Greetings from Brazil.
-
- Posts: 25
- Joined: 19 May 2020, 16:58
Re: Setting The Date
Hello!
I have the same problem, I'm in São Paulo, Brazil. The time and date of my linux server is correct 05/22/2020 and time 09: 52-am, however, when creating a task, the task time is shown as 12: 23- pm ... where can i fix this?
I have the same problem, I'm in São Paulo, Brazil. The time and date of my linux server is correct 05/22/2020 and time 09: 52-am, however, when creating a task, the task time is shown as 12: 23- pm ... where can i fix this?
Re: Setting The Date
see this section:
Copy the above in core/config_inc.php and adjust the setting....
Code: Select all
##############################
# MantisBT TimeZone Settings #
##############################
/**
* Default timezone to use in MantisBT
*
* This configuration is normally initialized when installing Mantis.
* It should be set to one of the values specified in the
* {@link http://php.net/timezones List of Supported Timezones}.
* If this config is left blank, the timezone will be initialized by calling
* {@link http://php.net/date-default-timezone-get date_default_timezone_get()}
* (note that this function's behavior was modified in PHP 5.4.0), which will
* fall back to 'UTC' if unable to determine the timezone.
* Correct configuration of this variable can be confirmed by running the
* administration checks.
* Users can override the default timezone under their preferences.
*
* @global string $g_default_timezone
*/
$g_default_timezone = '';
-
- Posts: 25
- Joined: 19 May 2020, 16:58
Re: Setting The Date
thank you very much, thank you very much!