Parsing dates into Solr format.