I was using a binary with the new timelib. Undo the datetime tests
[hiphop-php.git] / hphp / test / zend / bad / ext-date / bug33415-1.php
blob38eef7c36711a623a36426ddefcf7bb2b303cb1d
1 <?php
3 print "TZ=America/Jujuy - Is it OK for this to be 2 AM, rather than 1
4 AM as per most DST transitions?\n";
5 date_default_timezone_set("America/Jujuy");
6 $tStamp = mktime (17, 17, 17, 1, 7593, 1970);
7 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
8 $strtotime_tstamp = strtotime("next Monday", $tStamp);
9 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
10 print "wanted=Monday 00:00:00\n\n";
12 print "TZ=Asia/Tbilisi - Is it OK for this to be 2 AM?\n";
13 date_default_timezone_set("Asia/Tbilisi");
14 $tStamp = mktime (17, 17, 17, 1, 12863, 1970);
15 print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
16 $strtotime_tstamp = strtotime("next Sunday", $tStamp);
17 print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
18 print "wanted=Sunday 00:00:00\n\n";