Adding time function to location search

See https://github.com/geoadmin/mf-geoadmin3/issues/842

Also, this needs to be merged first to work:
https://github.com/geoadmin/mf-chsdi3/issues/239