How to compare dates in a View? I'm trying to build a new View in Drupal 8. I want to display list of News. Each item has field_date where is date (without time) stored. And second field is body with basic text information.

I'm trying to set FILTER CRITERIA to display only items with date &lt;= NOW(). It seems that it's impossible to enter this filter. There is no condition for it. Do you have idea how to enter this? This is filter what I see in modal window for new filter citerium



&lt;select id="edit-options-operator" name="options[operator]" class="form-select"&gt;    
  &lt;option value="=" selected="selected"&gt;Je rovno&lt;/option&gt;
  &lt;option value="!="&gt;Není rovno&lt;/option&gt;
  &lt;option value="contains"&gt;Obsahuje&lt;/option&gt;
  &lt;option value="word"&gt;Obsahuje jakékoliv slovo&lt;/option&gt;
  &lt;option value="allwords"&gt;Obsahuje všechna slova&lt;/option&gt;
  &lt;option value="starts"&gt;Začíná na&lt;/option&gt;
  &lt;option value="not_starts"&gt;Does not start with&lt;/option&gt;
  &lt;option value="ends"&gt;Končí na&lt;/option&gt;
  &lt;option value="not_ends"&gt;Does not end with&lt;/option&gt;
  &lt;option value="not"&gt;Neobsahuje&lt;/option&gt;
  &lt;option value="shorterthan"&gt;Délka je kratší než&lt;/option&gt;
  &lt;option value="longerthan"&gt;Délka je delší než&lt;/option&gt;
  &lt;option value="regular_expression"&gt;Regulární výraz&lt;/option&gt;
  &lt;option value="empty"&gt;Je prázdný (NULL)&lt;/option&gt;
  &lt;option value="not empty"&gt;Není prázdný (NOT NULL)&lt;/option&gt;
&lt;/select&gt;


(Sorry for Czech localization but you can still see key of each option :)

I thought that shorterthan we be right option, but it seems to be suitable only for string. I know that Drupal 8 is still in beta today but this problem must have some solution. I'm using already included core extension Datetime.
In Drupal 8.2.5 the option is available. See this picture: