Skip to content

Commit

Permalink
fix: format comparison date as Y-m-d H:i:s
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed May 9, 2022
1 parent a8f046f commit a94e7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/Orbital.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected static function seedData(OrbitOptions $options, bool $force = false):
->in($source)
->files()
->name("*.{$driver->extension()}")
->date('> ' . Carbon::createFromTimestamp(filemtime($oldestFile))->toDateTimeString())
->date('> ' . Carbon::createFromTimestamp(filemtime($oldestFile))->format('Y-m-d H:i:s'))
->sortByModifiedTime();

// 1a. For each of the files in that directory, we need to insert a record into the
Expand Down

0 comments on commit a94e7f3

Please sign in to comment.