I have a custom content entity 'service' created with Drupal Console (drupal generate:entity:content). I added my own fields to the standard ones created by DC. Of which 'additiondate':
$fields['additiondate'] = BaseFieldDefinition::create('datetime') ->setLabel(t('Addition Date')) ->setSetting('datetime_type', 'date') ->setDefaultValue(array(0 => array( 'default_date_type' => 'now', 'default_date' => 'now', ))) ->setReadOnly(TRUE);
Doing this way stores the date in YYYY-MM-DD string format.
I created an Embed View on this custom content entity to be used with
I'd like to use Contextual Filter on the field 'additiondate' in order to have all the services that have been added SINCE the date passed as parameter.
The only way to pass a parameter seems to be '2018-04-26' and the result is all the services that have been added ON this date, as you can see in the Preview of my View with the generated request displayed: Any idea?