Skip to content

Commit 5159f8a

Browse files
committed
fix: set posted_at field as date
1 parent a43ff56 commit 5159f8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/BinshopsPost.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class BinshopsPost extends Model
1616
*/
1717
public $casts = [
1818
'is_published' => 'boolean',
19+
'posted_at' => 'date'
1920
];
2021

2122
/**

0 commit comments

Comments
 (0)