View Issue Details

IDProjectCategoryView StatusLast Update
0011854mantisbtdocumentationpublic2014-09-23 18:05
Reporterrakekniven Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.4 
Target Version1.2.13Fixed in Version1.2.13 
Summary0011854: Parameter $g_default_timezone" is not mentioned in administration_guide
Description

config_defaults_inc.php gives some more information:

/**

  • Default timezone to use in mantis.
  • See http://us.php.net/manual/en/timezones.php
  • for a list of valid timezones.
  • Note: if this is left blank, we use the result of
  • date_default_timezone_get() i.e. in order:
    1. Reading the TZ environment variable (if non empty)
    1. Reading the value of the date.timezone php.ini option (if set)
    1. Querying the host operating system (if supported and allowed by the OS)
    1. If none of the above succeed, will return a default timezone of UTC.
  • @global string $g_default_timezone
    */
    $g_default_timezone = '';
TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
has duplicate 0013293 closeddhx mantisbt uses date_default_timezone_get() function 

Activities

dhx

dhx

2011-09-06 07:21

reporter   ~0029644

Confirmed - we need to update documentation for PHP 5.3 compatibility where a warning is produced if any of the date/time functions are used without the script first setting a timezone manually -or- the date.timezone INI setting being specified.

See https://bugs.gentoo.org/show_bug.cgi?id=381555 for some more assistance and guidance on timezone configuration within MantisBT.

Relevant information on date.timezone in PHP 5.3: http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone

dregad

dregad

2012-11-14 10:54

developer   ~0034313

I have added the missing documentation in the Configuration section of the admin guide. I will be available tomorrow in the on-line documentation.

grangeway

grangeway

2013-04-05 17:56

reporter   ~0036119

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x 77cb4d9f

2012-11-14 08:26

dregad


Details Diff
Documentation: added $g_default_timezone to admin guide

Fixes 0011854
Affected Issues
0011854
mod - config_defaults_inc.php Diff File
mod - docbook/administration_guide/en/configuration.sgml Diff File

MantisBT: master a5b0f60c

2012-11-14 08:26

dregad


Details Diff
Documentation: added $g_default_timezone to admin guide

Fixes 0011854
Affected Issues
0011854
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Configuration.xml Diff File