This commit is contained in:
2020-03-04 18:03:26 +00:00
parent 0d88945698
commit 29c2a8ebee
2 changed files with 24 additions and 3 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:future");
console.log(relativeDatefilterCalculator.tokenToDates("*future*"));
console.log("test:lastyear");
console.log(relativeDatefilterCalculator.tokenToDates("*lastyear*"));
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
if (lv == null) {
return lv;