Use a date range of -15:+15 in asset group and move actions to match Log module.

This commit is contained in:
Michael Stenta 2021-08-30 12:59:38 -04:00
parent 4aa8fbdac2
commit c741692eed
2 changed files with 2 additions and 0 deletions

View File

@ -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,
];

View File

@ -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,
];