Fixes to x-plugins code now that DateMathParser accepts a LongSupplier rather than a Callable to get the value of now Relates to elastic/elasticsearchelastic/elasticsearch#20796 Original commit: elastic/x-pack-elasticsearch@99fc47a8a7
Original commit: elastic/x-pack-elasticsearch@2018bb5f9f