svn: /php/php-src/ branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt
trunk/ext/calendar/tests/unixtojd.phpt
| From: | Christopher Jones | Date: | Mon, 26 Sep 2011 19:13:06 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt trunk/ext/calendar/tests/unixtojd.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66663@lists.php.net to get a copy of this message | ||
sixd Mon, 26 Sep 2011 19:13:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=317340
Log:
Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000)
Changed paths:
U php/php-src/branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt
U php/php-src/branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt
U php/php-src/trunk/ext/calendar/tests/unixtojd.phpt
Modified: php/php-src/branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:07:54 UTC (rev
317339)
+++ php/php-src/branches/PHP_5_3/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:13:06 UTC (rev
317340)
@@ -4,6 +4,7 @@
<?php include 'skipif.inc'; ?>
--FILE--
<?php
+putenv('TZ=UTC');
echo unixtojd(40000). "\n";
echo unixtojd(1000000000). "\n";
echo unixtojd(1152459009). "\n";
Modified: php/php-src/branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:07:54 UTC (rev
317339)
+++ php/php-src/branches/PHP_5_4/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:13:06 UTC (rev
317340)
@@ -4,6 +4,7 @@
<?php include 'skipif.inc'; ?>
--FILE--
<?php
+putenv('TZ=UTC');
echo unixtojd(40000). "\n";
echo unixtojd(1000000000). "\n";
echo unixtojd(1152459009). "\n";
Modified: php/php-src/trunk/ext/calendar/tests/unixtojd.phpt
===================================================================
--- php/php-src/trunk/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:07:54 UTC (rev 317339)
+++ php/php-src/trunk/ext/calendar/tests/unixtojd.phpt 2011-09-26 19:13:06 UTC (rev 317340)
@@ -4,6 +4,7 @@
<?php include 'skipif.inc'; ?>
--FILE--
<?php
+putenv('TZ=UTC');
echo unixtojd(40000). "\n";
echo unixtojd(1000000000). "\n";
echo unixtojd(1152459009). "\n";