Skip to content

Commit 0cd94af

Browse files
authored
RFC3339 compliant updated field (spatie#136)
1 parent 83b6c9d commit 0cd94af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FeedItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function title(string $title): self
6262

6363
public function updated(Carbon $updated): self
6464
{
65-
$this->updated = $updated;
65+
$this->updated = $updated->toRfc3339String();
6666

6767
return $this;
6868
}

0 commit comments

Comments
 (0)