cvs: pear /Date/tests bug967.php

From: Date: Sun, 14 Mar 2004 15:36:15 +0000
Subject: cvs: pear /Date/tests bug967.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17405@lists.php.net to get a copy of this message
pajoye Sun Mar 14 10:36:15 2004 EDT Added files: /pear/Date/tests bug967.php Log: - add test for #967 http://cvs.php.net/co.php/pear/Date/tests/bug967.php?r=1.1&p=1 Index: pear/Date/tests/bug967.php +++ pear/Date/tests/bug967.php <?php require_once 'Date.php'; $_DATE_TIMEZONE_DEFAULT = 'Pacific/Chatham'; $tz = Date_TimeZone::getDefault(); if ($tz->id!=$_DATE_TIMEZONE_DEFAULT && $tz->id!='Pacific/Chatham') { echo "setDefault Failed\n"; } Date_TimeZone::setDefault('CST'); $default = 'EST'; $tz = Date_TimeZone::getDefault(); if ($tz->id!=$_DATE_TIMEZONE_DEFAULT && $tz->id!='EST') { echo "setDefault Failed\n"; } ?>

« previous php.pear.cvs (#17405) next »