Mantis Logo
Mantis Manual
Manual
Configuration

Database
Path
Webserver
Version
Email
Language
Display
Time
JpGraph
Date
News
Default Preferences
Summary
Bugnote
File Upload
HTML
Authentication
Status Settings
Filters
Misc
Colors
Cookies
Database Tables
Speed Optimisation
Reminders
Bug History
Sponsorship
Source Control Integration
Custom Fields
My View Settings
Relationships
System Logging


Partner Links


Date
Last Modified: August 3, 2003 08:08AM
(Any)
Description

$g_short_date_format This format is used in the bug listing pages (eg: View Bugs). Default is 'm-d-y'.
$g_normal_date_format This format is used in the view/update bug pages, bug notes, manage section, and news section. Default is 'm-d-y H:i'.
$g_complete_date_format This format is used on the top of each page (current time) and the emails that are sent out. Default is 'm-d-y H:i T'.
These variables control how the date is displayed (default is 'US' formatting). Go to the date() function in PHP online manual for detailed instructions on date formatting.

User Contributed Notes
Date
Add Notes About Notes
hugh@j-views.com
28-May-2004 1:19
#144
Is there any way to set the timezone to a value other than that of the server?
Mike Yearwood
01-Jun-2004 9:05
#148
I would also like the ability to see the time in the timezone of the client, not the server.
weihua_zhang@hc-sc.gc.ca
18-Aug-2004 14:25
#187
I have string like this 2003-05-18 11:23:45, if I want it change to 05/18/03 and used it as xaxis->setTckLabels and want them to turn 90 degree with LabelAngle() (I got font problem with this function)

someone can kindly give me some code example

Many thanks

Weihua
matt
13-Sep-2004 0:20
#203
You can change the displayed timezone by adding a line to config_inc.php, at least under UNIX server variations:
putenv("TZ=America/Anchorage" );

(or any other standard UNIX timezone)
cww5@mail.ncku.edu.tw
28-Sep-2005 23:12
#625
When set $g_default_language = 'chinese_traditional_utf8';
the time display appear some words cannot understand,that's
reason for charset transfer.
so setting
$g_complete_date_format = 'm-d-y H:i'; to displear the unknown words
Add Notes About Notes
Last updated: Thu, 15 May 2008 - 21:28:50

Mantis @ SourceForge