This commit is contained in:
2020-03-04 00:05:56 +00:00
parent a932da04c6
commit 2b5f210f4a
2 changed files with 15 additions and 0 deletions

View File

@@ -1,5 +1,18 @@
// //TODO: Replace all this server code with equivalent client code
//EXAMPLE FROM INTEGRATION TEST OF BETWEEN TWO DATES
// dynamic fitem = new JObject();
// fitem.op = Util.OpGreaterThanOrEqualTo;
// fitem.value = new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
// items.Add(fitem);
// fitem = new JObject();
// fitem.op = Util.OpLessThanOrEqualTo;
// fitem.value = new DateTime(2019, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
// items.Add(fitem);
// namespace AyaNova.DataList
// {
// public static class DataListFilterSpecialToken

View File

@@ -908,6 +908,8 @@ function untokenizeListView(lv) {
if (lv.indexOf('"token":true') == -1) {
return;
}
//it has one or more tokens
//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));
}