We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b437a8 commit 95ed8f2Copy full SHA for 95ed8f2
src/CsvSeeder.php
@@ -97,10 +97,10 @@ public function run()
97
// Cache created_at and updated_at if we need to
98
if ($this->timestamps) {
99
if (!$this->created_at) {
100
- $this->created_at = Carbon::now();
+ $this->created_at = Carbon::now()->toIso8601String();
101
}
102
if (!$this->updated_at) {
103
- $this->updated_at = Carbon::now();
+ $this->updated_at = Carbon::now()->toIso8601String();
104
105
106
0 commit comments