date.Searcher

Extends Septima.Search.Searcher
Returns a septima.search date on exact match

Options

NameTypeMandatoryDefault valueDescription
presentationFormatstring"YYYY-MM-DD"e.g. "D/M-YYYY"
parseFormatsArray.<string>locale specifice.g. ["D/M-YYYY"]
parseFormatstringlocale specifice.g. "D/M-YYYY"
todayStringstringlocale specifice.g. "Today"
iconURIstringe.g. Url of icon
todayInTitlebooleanfalseShow todayString in title if result is current data

Examples

Usage

JSON Declaration:


  {
    _type: "date.DateSearcher"
  },

ES6:


import DateSearcher from './searchers/DateSearcher.js'
controller.addSearcher(new DateSearcher())