James Cole
4 years ago
No known key found for this signature in database
GPG Key ID: BDE6667570EADBD5
1 changed files with
1 additions and
1 deletions
-
app/Services/Shared/Configuration/Configuration.php
|
|
|
@ -194,7 +194,7 @@ class Configuration |
|
|
|
$object->dateRangeNumber = $array['date_range_number'] ?? 30; |
|
|
|
$object->dateRangeUnit = $array['date_range_unit'] ?? 'd'; |
|
|
|
|
|
|
|
// null or Carbon
|
|
|
|
// null or Carbon because fromRequest will give Carbon object.
|
|
|
|
$object->dateNotBefore = null === $array['date_not_before'] ? '' : $array['date_not_before']->format('Y-m-d'); |
|
|
|
$object->dateNotAfter = null === $array['date_not_after'] ? '' : $array['date_not_before']->format('Y-m-d'); |
|
|
|
|
|
|
|
|