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.
2 parents dcfdec3 + 95ed8f2 commit ee3a0daCopy full SHA for ee3a0da
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()->toString();
+ $this->created_at = Carbon::now()->toIso8601String();
101
}
102
if (!$this->updated_at) {
103
- $this->updated_at = Carbon::now()->toString();
+ $this->updated_at = Carbon::now()->toIso8601String();
104
105
106
0 commit comments