Use a date range of -15:+15 in asset group and move actions to match Log module.
This commit is contained in:
parent
4aa8fbdac2
commit
c741692eed
|
@ -152,6 +152,7 @@ class AssetGroupActionForm extends ConfirmFormBase {
|
|||
'#title' => $this->t('Date'),
|
||||
'#default_value' => new DrupalDateTime(),
|
||||
'#date_part_order' => ['month', 'day', 'year'],
|
||||
'#date_year_range' => '-15:+15',
|
||||
'#required' => TRUE,
|
||||
];
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ class AssetMoveActionForm extends ConfirmFormBase {
|
|||
'#title' => $this->t('Date'),
|
||||
'#default_value' => new DrupalDateTime(),
|
||||
'#date_part_order' => ['month', 'day', 'year'],
|
||||
'#date_year_range' => '-15:+15',
|
||||
'#required' => TRUE,
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue