Merge pull request #54 from wenottingham/time-example

Fix search example.
This commit is contained in:
Bill Nottingham 2017-07-25 19:08:16 -04:00 committed by GitHub
commit f7f61c9be2

View File

@ -41,7 +41,7 @@ class DjangoSearchModel {
stringFound = true;
}
if(!dateTimeFound && value.type === 'datetime') {
this.searchExamples.push(key + ":>=\"2000-01-01T00:00:00Z\"");
this.searchExamples.push(key + ":>=2000-01-01T00:00:00Z");
this.searchExamples.push(key + ":<2000-01-01");
dateTimeFound = true;
}