Skip to content

Instantly share code, notes, and snippets.

@dshafik
Created September 28, 2016 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dshafik/e219a9b1d8c6fc4fbcce149f39f11f7e to your computer and use it in GitHub Desktop.
Save dshafik/e219a9b1d8c6fc4fbcce149f39f11f7e to your computer and use it in GitHub Desktop.
========DIFF========
032+ ts = Monday 2037-10-19 17:17:17 +04
033+ result = Monday 2037-10-26 00:00:00 +04
032- ts = Monday 2037-10-19 17:17:17 AMT
033- result = Monday 2037-10-26 00:00:00 AMT
072+ ts = Friday 1971-01-01 17:17:17 +04
073+ result = Monday 1971-01-04 00:00:00 +04
072- ts = Friday 1971-01-01 17:17:17 BAKT
073- result = Monday 1971-01-04 00:00:00 BAKT
122+ ts = Monday 1995-12-25 17:17:17 +04
123+ result = Monday 1996-01-01 00:00:00 +04
122- ts = Monday 1995-12-25 17:17:17 AZT
123- result = Monday 1996-01-01 00:00:00 AZT
========DONE========
FAIL Bug #20382 [2] (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/date/tests/bug20382-2.phpt]
========DIFF========
028+ tStamp=Sunday 1992-09-20 17:17:17 +04 1
029+ result=Monday 1992-09-28 00:00:00 +04 0
028- tStamp=Sunday 1992-09-20 17:17:17 AZST 1
029- result=Monday 1992-09-28 00:00:00 AZT 0
========DONE========
FAIL Bug #33414 [1] (Comprehensive list of incorrect days returned after strotime() / date() tests) [ext/date/tests/bug33414-1.phpt]
========DIFF========
008+ tStamp=Sunday 2005-03-20 17:17:17 +03 0
009+ result=Sunday 2005-03-27 00:00:00 +03 0
008- tStamp=Sunday 2005-03-20 17:17:17 GET 0
009- result=Sunday 2005-03-27 00:00:00 GET 0
========DONE========
FAIL Bug #33415 [1] (Possibly invalid non-one-hour DST or timezone shifts) [ext/date/tests/bug33415-1.phpt]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment