Tiger66639 / xinc

Automatically exported from code.google.com/p/xinc
0 stars 0 forks source link

Setting timezone doesn't work #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure but i post this bug report.

If i did'nt set TZ variable in my environnement i got warning if PHP is 
in error_level E_STRICT. 

Original issue reported on code.google.com by julien.d...@gmail.com on 29 Feb 2008 at 8:26

GoogleCodeExporter commented 9 years ago
And timezone can only be set in system.xml

Original comment by julien.d...@gmail.com on 29 Feb 2008 at 8:29

GoogleCodeExporter commented 9 years ago
Both in system.xml:

<configuration>
<setting name="timezone" value="GMT"/>
</configuration>

and in a project config.xml:

<project name="name">
<configuration>
<setting name="timezone" value="GMT"/>
</configuration>
...

</project>

should work.

system.xml configures the global settings, while the project allows it to set 
the
timezone on a project level.

Please try it

Original comment by arnos...@gmail.com on 29 Feb 2008 at 9:25

GoogleCodeExporter commented 9 years ago
That doesn't work on project level.

Original comment by julien.d...@gmail.com on 29 Feb 2008 at 9:27

GoogleCodeExporter commented 9 years ago
Tested and works for me if timezone taken from the list of supported timezones:

http://es2.php.net/manual/en/timezones.php

Trying to get a better list with abbreviated timezone names like GMT, PST, etc

Original comment by arnos...@gmail.com on 29 Feb 2008 at 10:31

GoogleCodeExporter commented 9 years ago
Have you test with E_STRICT error level?

Original comment by julien.d...@gmail.com on 29 Feb 2008 at 10:35

GoogleCodeExporter commented 9 years ago
Can you please test with:

http://xinc.eu/api/deliverable/get/download/xinc/1205571200/Xinc.tgz

And then report with your system.xml and the project.xml so I can try to 
reproduce.

THanks

Original comment by arnos...@gmail.com on 15 Mar 2008 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by arnos...@gmail.com on 2 May 2008 at 11:35

GoogleCodeExporter commented 9 years ago
Moving issues into the v2.0.2 queue

Original comment by jcaro...@gmail.com on 17 Jul 2008 at 2:07

GoogleCodeExporter commented 9 years ago
when xinc starts initially it uses the timezone set by the php.ini and then 
uses 
timezone set by system.xml after plugins are registered.  finally, it uses the 
project config.xml timezone if one exists.  please be sure that all of these 
are set 
correctly.  also, this issue seems to have been fixed in 2.0.2 and works in the 
2.0.3 branch.  please add additional thoughts if the issue still exists.  for 
now, i 
am closing the ticket.

Original comment by apshoema...@gmail.com on 3 May 2009 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by apshoema...@gmail.com on 3 May 2009 at 10:39