Skip to content

Commit

Permalink
Merge pull request #1 from harrykerr/master
Browse files Browse the repository at this point in the history
fix: PHP9 date time deprecation
  • Loading branch information
iWader authored Apr 22, 2024
2 parents 782b87e + 98b108a commit b9b983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/danharper/DTI/DTI.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class DTI {

public function parse($input, $defaultDate = null)
public function parse($input, $defaultDate = "now")
{
if ( ! $defaultDate instanceof DateTime)
{
Expand Down

0 comments on commit b9b983e

Please sign in to comment.