--TEST-- Bug #20382 [2] (strtotime ("Monday", $date) produces wrong result on DST changeover) --FILE-- --EXPECT-- Europe/Andorra ts = Monday 2037-10-19 17:17:17 CEST result = Monday 2037-10-26 00:00:00 CET wanted = Monday 00:00:00 Asia/Dubai ts = Thursday 1970-01-01 17:17:17 GST result = Monday 1970-01-05 00:00:00 GST wanted = Monday 00:00:00 Asia/Kabul ts = Thursday 1970-01-01 17:17:17 AFT result = Monday 1970-01-05 00:00:00 AFT wanted = Monday 00:00:00 America/Antigua ts = Thursday 1970-01-01 17:17:17 AST result = Monday 1970-01-05 00:00:00 AST wanted = Monday 00:00:00 America/Anguilla ts = Thursday 1970-01-01 17:17:17 AST result = Monday 1970-01-05 00:00:00 AST wanted = Monday 00:00:00 Europe/Tirane ts = Monday 1983-04-11 17:17:17 CET result = Monday 1983-04-18 01:00:00 CEST wanted = Monday 00:00:00 Asia/Yerevan ts = Monday 2037-10-19 17:17:17 AMT result = Monday 2037-10-26 00:00:00 AMT wanted = Monday 00:00:00 America/Curacao ts = Thursday 1970-01-01 17:17:17 AST result = Monday 1970-01-05 00:00:00 AST wanted = Monday 00:00:00 Africa/Luanda ts = Thursday 1970-01-01 17:17:17 WAT result = Monday 1970-01-05 00:00:00 WAT wanted = Monday 00:00:00 Antarctica/McMurdo ts = Monday 2037-09-28 17:17:17 NZDT result = Monday 2037-10-05 00:00:00 NZDT wanted = Monday 00:00:00 Australia/Adelaide ts = Friday 1971-01-01 17:17:17 CST result = Monday 1971-01-04 00:00:00 CST wanted = Monday 00:00:00 Australia/Darwin ts = Monday 1971-03-29 17:17:17 CST result = Monday 1971-04-05 00:00:00 CST wanted = Monday 00:00:00 Australia/Perth ts = Friday 1971-01-01 17:17:17 WST result = Monday 1971-01-04 00:00:00 WST wanted = Monday 00:00:00 America/Aruba ts = Monday 1971-03-29 17:17:17 AST result = Monday 1971-04-05 00:00:00 AST wanted = Monday 00:00:00 Asia/Baku ts = Friday 1971-01-01 17:17:17 BAKT result = Monday 1971-01-04 00:00:00 BAKT wanted = Monday 00:00:00 Europe/Sarajevo ts = Friday 1971-01-01 17:17:17 CET result = Monday 1971-01-04 00:00:00 CET wanted = Monday 00:00:00 America/Barbados ts = Friday 1971-01-01 17:17:17 AST result = Monday 1971-01-04 00:00:00 AST wanted = Monday 00:00:00 Asia/Dacca ts = Friday 1971-01-01 17:17:17 DACT result = Monday 1971-01-04 00:00:00 DACT wanted = Monday 00:00:00 Europe/Brussels ts = Friday 1971-01-01 17:17:17 CET result = Monday 1971-01-04 00:00:00 CET wanted = Monday 00:00:00 Africa/Ouagadougou ts = Monday 1971-03-29 17:17:17 GMT result = Monday 1971-04-05 00:00:00 GMT wanted = Monday 00:00:00 Europe/Tirane ts = Monday 1983-04-11 17:17:17 CET result = Monday 1983-04-18 01:00:00 CEST wanted = Monday 00:00:00 America/Buenos_Aires ts = Monday 1974-09-30 17:17:17 ART result = Monday 1974-10-07 00:00:00 ART wanted = Monday 00:00:00 America/Rosario ts = Monday 1974-09-30 17:17:17 ART result = Monday 1974-10-07 00:00:00 ART wanted = Monday 00:00:00 Europe/Vienna ts = Monday 1980-03-31 17:17:17 CET result = Monday 1980-04-07 00:00:00 CEST wanted = Monday 00:00:00 Asia/Baku ts = Monday 1995-12-25 17:17:17 AZT result = Monday 1996-01-01 00:00:00 AZT wanted = Monday 00:00:00