mtdowling/cron-expression — pull request #57 by gohiei (2014-06-13 10:09:37+00:00)
Title: Fix getRunDate() shouldn't modify currentTime parameter

In my simple 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.