]> granicus.if.org Git - php/commitdiff
Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000)
authorChristopher Jones <sixd@php.net>
Mon, 26 Sep 2011 19:13:06 +0000 (19:13 +0000)
committerChristopher Jones <sixd@php.net>
Mon, 26 Sep 2011 19:13:06 +0000 (19:13 +0000)
ext/calendar/tests/unixtojd.phpt

index 567a8c25b6be85658e042c0310de97979ee18cdf..11edde5f22cd594f647da741d456e32be36e255a 100644 (file)
@@ -4,6 +4,7 @@ unixtojd()
 <?php include 'skipif.inc'; ?>
 --FILE--
 <?php
+putenv('TZ=UTC');
 echo unixtojd(40000). "\n";
 echo unixtojd(1000000000). "\n";
 echo unixtojd(1152459009). "\n";