flexdate converter. fixes Graylog2/graylog2-server#469