Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PHP 7.1 DateTime::setTime with microseconds #568

Merged
merged 5 commits into from
Jun 3, 2017

Conversation

hising
Copy link
Contributor

@hising hising commented Apr 10, 2017

  • Added $microseconds with default set to 0 as argument
  • Added test for making sure setTime with and without microseconds generate same output

@koenpunt
Copy link
Collaborator

Thanks, looks fine by me. Although the .gitignore entry should be in your global git ignore file, so if you can take that commit out

@koenpunt
Copy link
Collaborator

Or in .git/info/exclude, if you have other project where for some reason you want the .idea folder to be under source control

@IAkumaI
Copy link

IAkumaI commented May 17, 2017

Why still not merged?

@hising
Copy link
Contributor Author

hising commented May 18, 2017

@IAkumaI I guess it is up to the maintainers to do check and merge. I haven't poked them, I see that there are more pull requests solving the same problem. A temporary solution could be to override the class in your local code I guess?

@IAkumaI
Copy link

IAkumaI commented May 18, 2017

@hising My temporary solutions is editing file in vendor directory. Hard and stupid, but works )

@koenpunt koenpunt merged commit 87ad319 into jpfuentes2:master Jun 3, 2017
AlexPerov pushed a commit to AlexPerov/php-activerecord that referenced this pull request Nov 20, 2019
…s2#568)

* Add microseconds to setTime to support PHP 7.1
* Add test for setTime with microseconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants