This commit is contained in:
2020-03-04 18:19:21 +00:00
parent 72c3187745
commit b15ab410fc
2 changed files with 59 additions and 7 deletions

View File

@@ -916,8 +916,8 @@ function untokenizeListView(lv) {
//iterate the array and build a new array with substituted tokens with the correct date and time in them
//console.log(lv);
//console.log(JSON.parse(lv));
console.log("test:pastyear");
console.log(relativeDatefilterCalculator.tokenToDates("*pastyear*"));
console.log("test:past30days");
console.log(relativeDatefilterCalculator.tokenToDates("*past30days*"));
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
if (lv == null) {
return lv;