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

Fix getRunDate() shouldn't modify currentTime parameter #57

Merged
merged 1 commit into from
Nov 18, 2014

Conversation

gohiei
Copy link
Contributor

@gohiei gohiei commented Jun 13, 2014

In my code, $currentTime = new \DateTime.
After I call getPreviousRunDate() function, the getRunDate() method modified the original $currentTime and set the second of $currentTime to zero.

This issue causes that I logged the wrong time.
So I suggest to fix this problem.

mtdowling added a commit that referenced this pull request Nov 18, 2014
Fix getRunDate() shouldn't modify currentTime parameter
@mtdowling mtdowling merged commit 521a949 into mtdowling:master Nov 18, 2014
@mnapoli mnapoli mentioned this pull request Jan 4, 2015
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.

2 participants