Ticket #1 (closed defect: wontfix)

Opened 8 years ago

Last modified 7 years ago

setLocale changes time in logfile

Reported by: demian Assigned to: demian
Priority: lowest Milestone: 0.6.0
Component: SGL Severity: minor
Keywords: Cc:


Not a big problem (setted the bug priority at lowest level) but the logfile show different hours after _setLocale is called:

set 07 11:45:25 Seagull [debug] sgl_http_session->istimedout: set 07 11:45:25 Seagull [debug] sgl_controller->_setheaders: set 07 11:45:25 Seagull [debug] sgl_controller->_setlocale: set 07 09:45:25 Seagull [debug] dizionariomgr->validate: set 07 09:45:25 Seagull [debug] sgl_controller->_copyobjectproperties: set 07 09:45:25 Seagull [debug] dizionariomgr->process:

Maybe using a different timezone than GMT (here now we use GMT+2) make this problem.

Is it possible use always local time for logfile?

Change History

10/19/05 07:31:04 changed by demian

  • component changed from SGL - BlockLoader to SGL.

12/18/05 09:24:24 changed by demian

  • owner changed from somebody to demian.
  • status changed from new to assigned.
  • milestone set to 0.5.5.

really logs should used system time, not locale affected time, this sounds like an error but could be specific to Log class

01/23/06 14:01:03 changed by demian

  • milestone changed from 0.5.5 to 0.5.6.

03/06/06 06:28:43 changed by demian

  • priority changed from normal to lowest.
  • milestone changed from 0.5.6 to 0.6.0.

03/26/06 16:01:28 changed by rm

Forwared upstream: http://pear.php.net/bugs/bug.php?id=7205

08/12/06 05:42:36 changed by rm

This is closed as won't fix upstream, so it is a good candidate for the same here.

08/12/06 07:37:42 changed by demian

  • status changed from assigned to closed.
  • resolution set to wontfix.

good point, i hadn't realised Jon had answered. am sure there's a fix for this but we can close it for now.