Skip to content

Commit 962d8bd

Browse files
committed
The data for Tehran has changed, update test
1 parent c699212 commit 962d8bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/date/tests/bug33415-2.phpt

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ $tStamp = mktime (17, 17, 17, 1, 2855, 1970);
9595
print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
9696
$strtotime_tstamp = strtotime("next Tuesday", $tStamp);
9797
print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
98-
print "wanted=Tuesday 00:30:00\n\n";
98+
print "wanted=Tuesday 00:00:00\n\n";
9999

100100
print "TZ=Pacific/Tarawa - Is it OK for this to be Midday? Note: does
101101
not appear to have a DST or timezone transition.\n";
@@ -250,9 +250,9 @@ result=Sunday 1981-03-29 02:00:00 +00 1
250250
wanted=Sunday 02:00:00
251251

252252
TZ=Asia/Tehran - Is it OK for this to be 0:30 AM? yes
253-
tStamp=Tuesday 1977-10-25 17:17:17 +0330 0
254-
result=Tuesday 1977-11-01 00:30:00 +04 0
255-
wanted=Tuesday 00:30:00
253+
tStamp=Tuesday 1977-10-25 17:17:17 +04 0
254+
result=Tuesday 1977-11-01 00:00:00 +04 0
255+
wanted=Tuesday 00:00:00
256256

257257
TZ=Pacific/Tarawa - Is it OK for this to be Midday? Note: does
258258
not appear to have a DST or timezone transition.

0 commit comments

Comments
 (0)