Skip to content

Commit 14efba4

Browse files
committed
Merge pull request symfony#319 from danielholmes/patch-1
Fixed copy paste error with timestamp input setting
2 parents 1b97179 + f25e1bc commit 14efba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/forms/types/date.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ you'd need to set ``input`` to ``timestamp``:
5858
.. code-block:: php
5959
6060
$builder->add('publishedAt', 'date', array(
61-
'input' => 'datetime',
61+
'input' => 'timestamp',
6262
'widget' => 'choice',
6363
));
6464

0 commit comments

Comments
 (0)