This commit is contained in:
2020-03-04 16:28:43 +00:00
parent d6a065df27
commit 207a520859
2 changed files with 19 additions and 4 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:nextweek");
console.log(relativeDatefilterCalculator.tokenToDates("*nextweek*"));
console.log("test:lastmonth");
console.log(relativeDatefilterCalculator.tokenToDates("*lastmonth*"));
//[{"fld":"widgetname"},{"fld":"widgetstartdate","filter":{"items":[{"op":"=","value":"*past90days*","token":true}]}},{"fld":"widgetenddate"}]
if (lv == null) {
return lv;