Skip to content

Commit 529736d

Browse files
committed
Add description to FieldtypeDatetime's 'format' argument.
1 parent 29bdeab commit 529736d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Field/Traits/DateTimeResolverTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public function build(FieldConfig $config)
1717
$config->addArgument(new InputField([
1818
'name' => 'format',
1919
'type' => new StringType(),
20+
'description' => 'PHP date formatting string. Refer to https://devdocs.io/php/function.date',
2021
]));
2122
}
2223

0 commit comments

Comments
 (0)