Skip to content

Commit 1dfaca1

Browse files
authored
Fix syntax for DateColumn outputFormat in docs (rappasoft#1960)
1 parent bb005d0 commit 1dfaca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/column-types/date_columns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Date columns provide an easy way to display dates in a given format, without hav
88
You may pass either a DateTime object, in which you can define an "outputFormat"
99
```php
1010
DateColumn::make('Updated At', 'updated_at')
11-
->outputFormat('Y-m-d H:i:s),
11+
->outputFormat('Y-m-d H:i:s'),
1212
```
1313

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

0 commit comments

Comments
 (0)