Skip to content

Conversation

@mcq8
Copy link
Contributor

@mcq8 mcq8 commented Jun 3, 2016

@nikic
Copy link
Member

nikic commented Jun 6, 2016

/cc @derickr

@nikic nikic added the Bug label Jun 6, 2016
}
?>
--EXPECT--
Time:2016-04-22 00:00:00 = 041 Time:1934-03-04 00:00:00 = 041
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change the test to do the following:

  • output the pre-1970 one on the next line
  • explicityly set the timezone in an --INI-- setting to UTC
  • Not use a constant like "25920000000" but instead do "365 * 24 * 3600" (etc) to show where it comes from
  • Add a : between the Bug #72096 and Swatch time in the title

@derickr
Copy link
Member

derickr commented Jun 6, 2016

I've added some comments.

@mcq8
Copy link
Contributor Author

mcq8 commented Oct 9, 2016

@derickr any feedback on this?

@derickr
Copy link
Member

derickr commented Oct 10, 2016

LGTM

@krakjoe
Copy link
Member

krakjoe commented Jan 3, 2017

@derickr can I ask that you personally merge this into appropriate branches as you see fit, please: While we don't have tests that rely on the old behaviour, it's not impossible that someone does have code that does, I would suppose (and I may be wrong).

@nikic
Copy link
Member

nikic commented Mar 9, 2017

Merged via b224e74 into PHP 7.0+. Thanks!

@nikic nikic closed this Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants