Skip to content

Commit

Permalink
Datetime description updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire committed Feb 20, 2025
1 parent 5ad88d2 commit 946f50b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Plugin/Field/FieldWidget/DatestampWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@
class DatestampWidget extends TimestampDatetimeWidget {

/**
* Example format used as Datetime::formatExample is removed from D11.
* Example format used as Datetime::formatExample is deprecated
* in Drupal:10.2.0 and is removed from Drupal:11.0.0.
*
* @var string
*/
public const DATESTAMPFORMAT = 'YYYY-MM-DD hh:mm:ss';
public const DATESTAMPFORMAT = 'YYYY-MM-DD HH:MM:SS';

/**
* {@inheritdoc}
Expand Down

0 comments on commit 946f50b

Please sign in to comment.