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

View File

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