Skip to content

Commit ee3a0da

Browse files
authored
Merge pull request #36 from mtakahashi1977/master
Update CsvSeeder.php
2 parents dcfdec3 + 95ed8f2 commit ee3a0da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CsvSeeder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ public function run()
9797
// Cache created_at and updated_at if we need to
9898
if ($this->timestamps) {
9999
if (!$this->created_at) {
100-
$this->created_at = Carbon::now()->toString();
100+
$this->created_at = Carbon::now()->toIso8601String();
101101
}
102102
if (!$this->updated_at) {
103-
$this->updated_at = Carbon::now()->toString();
103+
$this->updated_at = Carbon::now()->toIso8601String();
104104
}
105105
}
106106

0 commit comments

Comments
 (0)