Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Re: timezone for setup

Subject: COmanage Developers List

List archive

[comanage-dev] Re: timezone for setup


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Marie Huynh <>
  • Cc: comanage-dev <>
  • Subject: [comanage-dev] Re: timezone for setup
  • Date: Thu, 24 Jan 2013 08:03:48 -0500

On 1/24/13 3:04 AM, Marie Huynh wrote:

Is this related to this bug?
https://bugs.internet2.edu/jira/browse/CO-114?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

No, that ticket is for a general review to make sure (eg) dates render correctly according to a user's current timezone.

Config/core.php contains this:

/**
* Uncomment this line and correct your server timezone to fix
* any date & time related errors.
*/
//date_default_timezone_set('UTC');

Why is that commented out? I don't see anything in the installation
docs about it but uncommenting it or putting in
date_default_timezone_set('America/Los_Angeles');
solves that problem. Shouldn't there be a default? Or should I just
add this to the docs?

Well, it is documented at

http://book.cakephp.org/2.0/en/installation.html

though I don't think we should expect people to have to read cake documentation.

I don't have an objection to uncommenting this, but it would be good to understand

(1) Why you need to (I have it commented out and things are working fine, and I don't have a global php setting)

(2) Why you need to now (did you have in uncommented previously?)

-Benn-



Archive powered by MHonArc 2.6.16.

Top of Page