Skip to content

Commit

Permalink
Fix syntax for DateColumn outputFormat in docs (#1960)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Sep 21, 2024
1 parent bb005d0 commit 1dfaca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/column-types/date_columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Date columns provide an easy way to display dates in a given format, without hav
You may pass either a DateTime object, in which you can define an "outputFormat"
```php
DateColumn::make('Updated At', 'updated_at')
->outputFormat('Y-m-d H:i:s),
->outputFormat('Y-m-d H:i:s'),
```

Or you may pass a string, in which case you can define an "inputFormat" in addition to the outputFormat:
Expand Down

0 comments on commit 1dfaca1

Please sign in to comment.