From 1dfaca122f6681ecf7d8108de16854a3fe055fd9 Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Sun, 22 Sep 2024 00:51:45 +0100 Subject: [PATCH] Fix syntax for DateColumn outputFormat in docs (#1960) --- docs/column-types/date_columns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/column-types/date_columns.md b/docs/column-types/date_columns.md index 3e2e6ca0a..17ffa581b 100644 --- a/docs/column-types/date_columns.md +++ b/docs/column-types/date_columns.md @@ -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: