Skip to content

Commit

Permalink
Merge pull request #11 from qiang-youwe/master
Browse files Browse the repository at this point in the history
correct excatDateTime
  • Loading branch information
qiang-youwe authored Jan 12, 2017
2 parents 7d6a3f3 + 5c4ce58 commit 469b372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Fixtures/Alice/Providers/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ class DateTime {
* @return int
*/
public static function exactDateTime($date = 'now') {
return (new \DateTime( $date ))->getTimestamp();
return new \DateTime( $date );
}
}

0 comments on commit 469b372

Please sign in to comment.