FogBugz Technical Support

A forum for technical support discussion related to Fogbugz.
The current FogBugz Knowledge Base can be found at

Posts by Fog Creek Employees are marked:

Release Notes
Network Status

How to change displayed time stamp from GMT to a local time zone

Fogbugz version: 4.0.31

I see there is already some discussions on client time zones vs fogbugz time zone.  But that is not my problem.

Our fogbugz server and majority of our users are in California.  So it would be really nice to see the time stamps of bug creation and updates in Pacifict Time (with automatic day time saving handling).  Currently, all the time stamps are in GMT time zone (ie, 8 hours ahead for PST).  Is there way to make the displayed time PST/PDT ?


Pei Ku
Pei Ku Send private email
Friday, January 27, 2006
Yes, set the timezone in the FogBugz Windows OS to the timezone you want it to be.
Michael H. Pryor Send private email
Friday, January 27, 2006
oops, I forgot to mention the platform that we are running FogBugz on:

MySQL 4.1.14
Apache HTTPD 2.0.54
PHP 4.4.0

When doing a 'date' at shell prompt, the date/time returned is PST/PDT time.
Pei Ku Send private email
Friday, January 27, 2006
Michael H. Pryor Send private email
Friday, January 27, 2006
Unfortunately we are still using PHP4.  The date.timezone parameter is a PHP5 thing.

Nevertheless, the sugguestion led us to perform an experiment: we did a 'setenv TZ America/Los_Angeles' before starting the apache (by default, FreeBSD does not rely on TZ env var; it uses /etc/localtime to specify the default timezone for the server).  That seems to did the trick (sort of): now all new fogbugz messages get the PST timestamp.

What did NOT change are the timestamps on the messages created prior to the TZ change.  The only logical explanation is that FogBugz stores timestamp as 'literals' , not some clock tick values referencing some common point in time.


Pei Ku Send private email
Monday, January 30, 2006

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz Bug Tracking and Evidence-Based Scheduling.