@@ -89,14 +89,6 @@ $strtotime_tstamp = strtotime("next Sunday", $tStamp);
8989print "result= " .date ("l Y-m-d H:i:s T I " , $ strtotime_tstamp )."\n" ;
9090print "wanted=Sunday 02:00:00 \n\n" ;
9191
92- print "TZ=America/Guyana - Is it OK for this to be 0:45 AM? yes \n" ;
93- date_default_timezone_set ('America/Guyana ' );
94- $ tStamp = mktime (17 , 17 , 17 , 1 , 2031 , 1970 );
95- print "tStamp= " . date ("l Y-m-d H:i:s T I " , $ tStamp ). "\n" ;
96- $ strtotime_tstamp = strtotime ("next Thursday " , $ tStamp );
97- print "result= " .date ("l Y-m-d H:i:s T I " , $ strtotime_tstamp )."\n" ;
98- print "wanted=Thursday 00:45:00 \n\n" ;
99-
10092print "TZ=Asia/Tehran - Is it OK for this to be 0:30 AM? yes \n" ;
10193date_default_timezone_set ('Asia/Tehran ' );
10294$ tStamp = mktime (17 , 17 , 17 , 1 , 2855 , 1970 );
@@ -138,14 +130,6 @@ $strtotime_tstamp = strtotime("next Saturday +2 hours", $tStamp);
138130print "result= " .date ("l Y-m-d H:i:s T I " , $ strtotime_tstamp )."\n" ;
139131print "wanted=Saturday 02:30:00 \n\n" ;
140132
141- print "TZ=Pacific/Niue - Is it OK for this to be 0:30 AM? yes \n" ;
142- date_default_timezone_set ('Pacific/Niue ' );
143- $ tStamp = mktime (17 , 17 , 17 , 1 , 3189 , 1970 );
144- print "tStamp= " . date ("l Y-m-d H:i:s T I " , $ tStamp ). "\n" ;
145- $ strtotime_tstamp = strtotime ("next Sunday " , $ tStamp );
146- print "result= " .date ("l Y-m-d H:i:s T I " , $ strtotime_tstamp )."\n" ;
147- print "wanted=Sunday 00:30:00 \n\n" ;
148-
149133print "TZ=Pacific/Port_Moresby - Is it OK for this to be 10 AM? No DST
150134or timezone transition. \n" ;
151135date_default_timezone_set ('Pacific/Port_Moresby ' );
@@ -265,11 +249,6 @@ tStamp=Sunday 1981-03-22 17:17:17 -02 0
265249result=Sunday 1981-03-29 02:00:00 +00 1
266250wanted=Sunday 02:00:00
267251
268- TZ=America/Guyana - Is it OK for this to be 0:45 AM? yes
269- tStamp=Thursday 1975-07-24 17:17:17 -0345 0
270- result=Thursday 1975-07-31 00:45:00 -03 0
271- wanted=Thursday 00:45:00
272-
273252TZ=Asia/Tehran - Is it OK for this to be 0:30 AM? yes
274253tStamp=Tuesday 1977-10-25 17:17:17 +0330 0
275254result=Tuesday 1977-11-01 00:30:00 +04 0
@@ -296,11 +275,6 @@ tStamp=Saturday 1979-02-03 17:17:17 +1130 0
296275result=Saturday 1979-02-10 02:30:00 +12 0
297276wanted=Saturday 02:30:00
298277
299- TZ=Pacific/Niue - Is it OK for this to be 0:30 AM? yes
300- tStamp=Sunday 1978-09-24 17:17:17 -1130 0
301- result=Sunday 1978-10-01 00:30:00 -11 0
302- wanted=Sunday 00:30:00
303-
304278TZ=Pacific/Port_Moresby - Is it OK for this to be 10 AM? No DST
305279or timezone transition.
306280tStamp=Thursday 1970-01-01 17:17:17 +10 0
0 commit comments